aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/keyboard.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/keyboard.c b/src/keyboard.c
index 64ad8b2c8fa..75fbe459b2b 100644
--- a/src/keyboard.c
+++ b/src/keyboard.c
@@ -3907,6 +3907,9 @@ kbd_buffer_get_event (KBOARD **kbp,
3907#endif 3907#endif
3908#if defined (HAVE_NS) 3908#if defined (HAVE_NS)
3909 case NS_TEXT_EVENT: 3909 case NS_TEXT_EVENT:
3910 if (used_mouse_menu)
3911 *used_mouse_menu = true;
3912 FALLTHROUGH;
3910#endif 3913#endif
3911#ifdef HAVE_NTGUI 3914#ifdef HAVE_NTGUI
3912 case END_SESSION_EVENT: 3915 case END_SESSION_EVENT:
@@ -5463,8 +5466,6 @@ make_lispy_event (struct input_event *event)
5463 5466
5464#ifdef HAVE_NS 5467#ifdef HAVE_NS
5465 case NS_TEXT_EVENT: 5468 case NS_TEXT_EVENT:
5466 if (used_mouse_menu)
5467 *used_mouse_menu = true;
5468 return list1 (intern (event->code == KEY_NS_PUT_WORKING_TEXT 5469 return list1 (intern (event->code == KEY_NS_PUT_WORKING_TEXT
5469 ? "ns-put-working-text" 5470 ? "ns-put-working-text"
5470 : "ns-unput-working-text")); 5471 : "ns-unput-working-text"));