From 0a43f75b23fd38f9c74cd93e092ff6d7f68f459f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Wed, 31 Jul 1996 16:52:52 +0000 Subject: [PATCH] (XTread_socket): Delete the code to pass menu bar keys to the toolkit alone. --- src/xterm.c | 5 +++++ 1 file changed, 5 insertions(+) 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), -- 2.39.5