From 7723570dc0be52a8d0f669a1c9fd838bc95b0156 Mon Sep 17 00:00:00 2001 From: Karl Heuer Date: Thu, 11 Jul 1996 23:24:03 +0000 Subject: [PATCH] (XTread_socket): Add #ifdef for previous change. --- src/xterm.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/xterm.c b/src/xterm.c index b8a4077728a..2a8b07ec95a 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3616,6 +3616,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) unsigned char copy_buffer[81]; int modifiers; +#ifdef USE_X_TOOLKIT if (lw_window_is_in_menubar (event.xkey.window, f->output_data.x->menubar_widget )) @@ -3623,7 +3624,8 @@ XTread_socket (sd, bufp, numchars, waitp, expected) XtDispatchEvent (&event); break; } - +#endif /* USE_X_TOOLKIT */ + event.xkey.state |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f), extra_keyboard_modifiers); -- 2.39.2