From: Richard M. Stallman Date: Wed, 31 Jul 1996 16:52:52 +0000 (+0000) Subject: (XTread_socket): Delete the code to pass menu bar keys X-Git-Tag: emacs-19.34~56 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=0a43f75b23fd38f9c74cd93e092ff6d7f68f459f;p=emacs.git (XTread_socket): Delete the code to pass menu bar keys to the toolkit alone. --- diff --git a/src/xterm.c b/src/xterm.c index ea3c8899d59..28cd058fb22 100644 --- a/src/xterm.c +++ b/src/xterm.c @@ -3634,6 +3634,10 @@ XTread_socket (sd, bufp, numchars, waitp, expected) unsigned char copy_buffer[81]; int modifiers; +#if 0 /* This was how we made f10 work in Motif. + The drawback is, you can't type at Emacs when the + the mouse is in the menu bar. So it is better to + turn off f10 in Motif and let Emacs handle it. */ #ifdef USE_MOTIF if (lw_window_is_in_menubar (event.xkey.window, f->output_data.x->menubar_widget @@ -3643,6 +3647,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) break; } #endif /* USE_MOTIF */ +#endif /* 0 */ event.xkey.state |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f),