Fix quartz input method filtering Esc keypress

This commit is contained in:
Matt Rose 2020-04-15 16:48:02 -04:00
parent 98918b689e
commit 3236c09d7d

View File

@ -231,6 +231,9 @@ quartz_filter_keypress (GtkIMContext *context,
if (event->hardware_keycode == 55) /* Command */
return FALSE;
if (event->hardware_keycode == 53) /* Escape */
return FALSE;
NSEventType etype = [nsevent type];
if (etype == NSKeyDown)
{