Merge branch 'macos-esc-fix' into 'gtk-3-24'

Fix quartz input method filtering Esc keypress

See merge request GNOME/gtk!1696
This commit is contained in:
Matthias Clasen 2020-04-15 23:04:04 +00:00
commit 27d7f55aba

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)
{