Mercurial > emacs
comparison src/xterm.c @ 49326:f5372eee5041
*** empty log message ***
author | Jan Djärv <jan.h.d@swipnet.se> |
---|---|
date | Sun, 19 Jan 2003 23:06:42 +0000 |
parents | 2cbb0b823e83 |
children | a4d0ee33dcce |
comparison
equal
deleted
inserted
replaced
49325:3aad85888ad2 | 49326:f5372eee5041 |
---|---|
10690 } | 10690 } |
10691 goto OTHER; | 10691 goto OTHER; |
10692 | 10692 |
10693 case KeyPress: | 10693 case KeyPress: |
10694 | 10694 |
10695 #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | |
10695 /* Dispatch KeyPress events when in menu. */ | 10696 /* Dispatch KeyPress events when in menu. */ |
10696 if (popup_activated ()) | 10697 if (popup_activated ()) |
10697 goto OTHER; | 10698 goto OTHER; |
10699 #endif | |
10698 | 10700 |
10699 f = x_any_window_to_frame (dpyinfo, event.xkey.window); | 10701 f = x_any_window_to_frame (dpyinfo, event.xkey.window); |
10700 | 10702 |
10701 if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)) | 10703 if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)) |
10702 { | 10704 { |
11373 | 11375 |
11374 if (!tool_bar_p) | 11376 if (!tool_bar_p) |
11375 if (!dpyinfo->x_focus_frame | 11377 if (!dpyinfo->x_focus_frame |
11376 || f == dpyinfo->x_focus_frame) | 11378 || f == dpyinfo->x_focus_frame) |
11377 { | 11379 { |
11380 #if defined (USE_X_TOOLKIT) || defined (USE_GTK) | |
11378 if (! popup_activated ()) | 11381 if (! popup_activated ()) |
11382 #endif | |
11379 construct_mouse_click (&emacs_event, &event, f); | 11383 construct_mouse_click (&emacs_event, &event, f); |
11380 } | 11384 } |
11381 } | 11385 } |
11382 else | 11386 else |
11383 { | 11387 { |