From: Karl Heuer Date: Thu, 11 Jul 1996 23:24:03 +0000 (+0000) Subject: (XTread_socket): Add #ifdef for previous change. X-Git-Tag: emacs-19.34~223 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=7723570dc0be52a8d0f669a1c9fd838bc95b0156;p=emacs.git (XTread_socket): Add #ifdef for previous change. --- 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);