diff options
Diffstat (limited to 'src')
| -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), |