Mercurial > emacs
comparison src/xterm.c @ 15639:2ca62609dd67
(XTread_socket): Add #ifdef for previous change.
author | Karl Heuer <kwzh@gnu.org> |
---|---|
date | Thu, 11 Jul 1996 23:24:03 +0000 |
parents | 909056c81fcf |
children | 099dc465c948 |
comparison
equal
deleted
inserted
replaced
15638:fc00cd5ad30f | 15639:2ca62609dd67 |
---|---|
3614 /* al%imercury@uunet.uu.net says that making this 81 instead of | 3614 /* al%imercury@uunet.uu.net says that making this 81 instead of |
3615 80 fixed a bug whereby meta chars made his Emacs hang. */ | 3615 80 fixed a bug whereby meta chars made his Emacs hang. */ |
3616 unsigned char copy_buffer[81]; | 3616 unsigned char copy_buffer[81]; |
3617 int modifiers; | 3617 int modifiers; |
3618 | 3618 |
3619 #ifdef USE_X_TOOLKIT | |
3619 if (lw_window_is_in_menubar (event.xkey.window, | 3620 if (lw_window_is_in_menubar (event.xkey.window, |
3620 f->output_data.x->menubar_widget | 3621 f->output_data.x->menubar_widget |
3621 )) | 3622 )) |
3622 { | 3623 { |
3623 XtDispatchEvent (&event); | 3624 XtDispatchEvent (&event); |
3624 break; | 3625 break; |
3625 } | 3626 } |
3626 | 3627 #endif /* USE_X_TOOLKIT */ |
3628 | |
3627 event.xkey.state | 3629 event.xkey.state |
3628 |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f), | 3630 |= x_emacs_to_x_modifiers (FRAME_X_DISPLAY_INFO (f), |
3629 extra_keyboard_modifiers); | 3631 extra_keyboard_modifiers); |
3630 modifiers = event.xkey.state; | 3632 modifiers = event.xkey.state; |
3631 | 3633 |