Fix quartz input method filtering Esc keypress
This commit is contained in:
parent
98918b689e
commit
3236c09d7d
@ -231,6 +231,9 @@ quartz_filter_keypress (GtkIMContext *context,
|
|||||||
if (event->hardware_keycode == 55) /* Command */
|
if (event->hardware_keycode == 55) /* Command */
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
|
||||||
|
if (event->hardware_keycode == 53) /* Escape */
|
||||||
|
return FALSE;
|
||||||
|
|
||||||
NSEventType etype = [nsevent type];
|
NSEventType etype = [nsevent type];
|
||||||
if (etype == NSKeyDown)
|
if (etype == NSKeyDown)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user