comparison src/xterm.c @ 44708:b4274ec69fa3

(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.
author Pavel Janík <Pavel@Janik.cz>
date Fri, 19 Apr 2002 18:59:02 +0000
parents 8826cd76618a
children f6ac4d8b01cd
comparison
equal deleted inserted replaced
44707:3444517c6483 44708:b4274ec69fa3
6808 int x, y, portion; 6808 int x, y, portion;
6809 { 6809 {
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)
6818 string = mode_line_string (w, x, y, portion == 1, &charpos); 6817 string = mode_line_string (w, x, y, portion == 1, &charpos);
6819 else 6818 else
10404 record_asynch_buffer_change (); 10403 record_asynch_buffer_change ();
10405 } 10404 }
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))
10412 { 10416 {
10413 dpyinfo->mouse_face_hidden = 1; 10417 dpyinfo->mouse_face_hidden = 1;