summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatt Rose <mattrose@folkwolf.net>2020-04-15 16:48:02 -0400
committerMatt Rose <mattrose@folkwolf.net>2020-04-15 16:48:02 -0400
commit3236c09d7dda87c0c90b69a3ea24ae291acc11b1 (patch)
tree5cd027170d2a56fbcc775412dee65b7d2468a5c7
parent98918b689ef1769d939cf81aa3a86ba82266bac8 (diff)
downloadgtk+-3236c09d7dda87c0c90b69a3ea24ae291acc11b1.tar.gz
Fix quartz input method filtering Esc keypress
-rw-r--r--modules/input/imquartz.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/input/imquartz.c b/modules/input/imquartz.c
index 718c8ffb06..7437ad1ceb 100644
--- a/modules/input/imquartz.c
+++ b/modules/input/imquartz.c
@@ -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)
{