forked from AuroraMiddleware/gtk
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:
commit
27d7f55aba
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user