Commit 0a43f75b authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

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

to the toolkit alone.
parent 80e2afdd
......@@ -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),
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment