# HG changeset patch # User Richard M. Stallman # Date 838831972 0 # Node ID a3f1489198ea7ddde3c656871262f6efbb4b5c3f # Parent 6081df437242f7b66b404a53beb311c0df4665d0 (XTread_socket): Delete the code to pass menu bar keys to the toolkit alone. diff -r 6081df437242 -r a3f1489198ea src/xterm.c --- a/src/xterm.c Wed Jul 31 16:35:11 1996 +0000 +++ b/src/xterm.c Wed Jul 31 16:52:52 1996 +0000 @@ -3634,6 +3634,10 @@ 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 @@ break; } #endif /* USE_MOTIF */ +#endif /* 0 */ event.xkey.state |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f),