]> git.eshelyaron.com Git - emacs.git/commitdiff
(XTread_socket): Add #ifdef for previous change.
authorKarl Heuer <kwzh@gnu.org>
Thu, 11 Jul 1996 23:24:03 +0000 (23:24 +0000)
committerKarl Heuer <kwzh@gnu.org>
Thu, 11 Jul 1996 23:24:03 +0000 (23:24 +0000)
src/xterm.c

index b8a4077728a667db3283c83b4a603a16951d5b2c..2a8b07ec95ab787b7269f4502eb69c1e5fb0a0e5 100644 (file)
@@ -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);