[gtk/gtk-3-24: 1/2] Fix quartz input method filtering Esc keypress
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/gtk-3-24: 1/2] Fix quartz input method filtering Esc keypress
- Date: Wed, 15 Apr 2020 23:04:40 +0000 (UTC)
commit 3236c09d7dda87c0c90b69a3ea24ae291acc11b1
Author: Matt Rose <mattrose folkwolf net>
Date: Wed Apr 15 16:48:02 2020 -0400
Fix quartz input method filtering Esc keypress
modules/input/imquartz.c | 3 +++
1 file changed, 3 insertions(+)
---
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)
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]