1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-09 13:10:57 -08:00

(XTread_socket): Delete the code to pass menu bar keys

to the toolkit alone.
This commit is contained in:
Richard M. Stallman 1996-07-31 16:52:52 +00:00
parent 80e2afdd25
commit 0a43f75b23

View file

@ -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),