diff options
| author | Richard M. Stallman | 1996-07-31 16:52:52 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1996-07-31 16:52:52 +0000 |
| commit | 0a43f75b23fd38f9c74cd93e092ff6d7f68f459f (patch) | |
| tree | d4c0959e6895131c326f10898cea7e44203968d2 | |
| parent | 80e2afdd25f64cf4bd9026afd0cb93a9417fb290 (diff) | |
| download | emacs-0a43f75b23fd38f9c74cd93e092ff6d7f68f459f.tar.gz emacs-0a43f75b23fd38f9c74cd93e092ff6d7f68f459f.zip | |
(XTread_socket): Delete the code to pass menu bar keys
to the toolkit alone.
| -rw-r--r-- | src/xterm.c | 5 |
1 files changed, 5 insertions, 0 deletions
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) | |||
| 3634 | unsigned char copy_buffer[81]; | 3634 | unsigned char copy_buffer[81]; |
| 3635 | int modifiers; | 3635 | int modifiers; |
| 3636 | 3636 | ||
| 3637 | #if 0 /* This was how we made f10 work in Motif. | ||
| 3638 | The drawback is, you can't type at Emacs when the | ||
| 3639 | the mouse is in the menu bar. So it is better to | ||
| 3640 | turn off f10 in Motif and let Emacs handle it. */ | ||
| 3637 | #ifdef USE_MOTIF | 3641 | #ifdef USE_MOTIF |
| 3638 | if (lw_window_is_in_menubar (event.xkey.window, | 3642 | if (lw_window_is_in_menubar (event.xkey.window, |
| 3639 | f->output_data.x->menubar_widget | 3643 | f->output_data.x->menubar_widget |
| @@ -3643,6 +3647,7 @@ XTread_socket (sd, bufp, numchars, waitp, expected) | |||
| 3643 | break; | 3647 | break; |
| 3644 | } | 3648 | } |
| 3645 | #endif /* USE_MOTIF */ | 3649 | #endif /* USE_MOTIF */ |
| 3650 | #endif /* 0 */ | ||
| 3646 | 3651 | ||
| 3647 | event.xkey.state | 3652 | event.xkey.state |
| 3648 | |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f), | 3653 | |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f), |