diff options
| author | Pavel Janík | 2002-04-19 18:59:02 +0000 |
|---|---|---|
| committer | Pavel Janík | 2002-04-19 18:59:02 +0000 |
| commit | 2a793c0c4c7b8ce5333d560d1ea01114c37842fa (patch) | |
| tree | cbc978a2e3864f35e66ffab973f5289fb75da0ab /src | |
| parent | a7e19a26743f0d5338c5e85f8fbb13224c07e547 (diff) | |
| download | emacs-2a793c0c4c7b8ce5333d560d1ea01114c37842fa.tar.gz emacs-2a793c0c4c7b8ce5333d560d1ea01114c37842fa.zip | |
(note_mode_line_or_margin_highlight): Remove unused variables `row', `i'
and `area'.
(XTread_socket) <KeyPress>: Pass KeyPress events when in menu to toolkit
library.
Diffstat (limited to 'src')
| -rw-r--r-- | src/xterm.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/src/xterm.c b/src/xterm.c index 70b4b37c8b7..25cb21bd95e 100644 --- a/src/xterm.c +++ b/src/xterm.c | |||
| @@ -6810,8 +6810,7 @@ note_mode_line_or_margin_highlight (w, x, y, portion) | |||
| 6810 | struct frame *f = XFRAME (w->frame); | 6810 | struct frame *f = XFRAME (w->frame); |
| 6811 | struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); | 6811 | struct x_display_info *dpyinfo = FRAME_X_DISPLAY_INFO (f); |
| 6812 | Cursor cursor = dpyinfo->vertical_scroll_bar_cursor; | 6812 | Cursor cursor = dpyinfo->vertical_scroll_bar_cursor; |
| 6813 | struct glyph_row *row; | 6813 | int charpos; |
| 6814 | int i, area, charpos; | ||
| 6815 | Lisp_Object string, help, map, pos; | 6814 | Lisp_Object string, help, map, pos; |
| 6816 | 6815 | ||
| 6817 | if (portion == 1 || portion == 3) | 6816 | if (portion == 1 || portion == 3) |
| @@ -10406,6 +10405,11 @@ XTread_socket (sd, bufp, numchars, expected) | |||
| 10406 | goto OTHER; | 10405 | goto OTHER; |
| 10407 | 10406 | ||
| 10408 | case KeyPress: | 10407 | case KeyPress: |
| 10408 | |||
| 10409 | /* Dispatch KeyPress events when in menu. */ | ||
| 10410 | if (popup_activated_flag) | ||
| 10411 | goto OTHER; | ||
| 10412 | |||
| 10409 | f = x_any_window_to_frame (dpyinfo, event.xkey.window); | 10413 | f = x_any_window_to_frame (dpyinfo, event.xkey.window); |
| 10410 | 10414 | ||
| 10411 | if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)) | 10415 | if (!dpyinfo->mouse_face_hidden && INTEGERP (Vmouse_highlight)) |