aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c
index afbc718d645..86e780cc611 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -325,8 +325,7 @@ static void x_set_window_size_1 P_ ((struct frame *, int, int, int));
325static const XColor *x_color_cells P_ ((Display *, int *)); 325static const XColor *x_color_cells P_ ((Display *, int *));
326static void x_update_window_end P_ ((struct window *, int, int)); 326static void x_update_window_end P_ ((struct window *, int, int));
327void x_delete_display P_ ((struct x_display_info *)); 327void x_delete_display P_ ((struct x_display_info *));
328static unsigned int x_x_to_emacs_modifiers P_ ((struct x_display_info *, 328
329 unsigned));
330static int x_io_error_quitter P_ ((Display *)); 329static int x_io_error_quitter P_ ((Display *));
331int x_catch_errors P_ ((Display *)); 330int x_catch_errors P_ ((Display *));
332void x_uncatch_errors P_ ((Display *, int)); 331void x_uncatch_errors P_ ((Display *, int));
@@ -3470,7 +3469,7 @@ x_find_modifier_meanings (dpyinfo)
3470/* Convert between the modifier bits X uses and the modifier bits 3469/* Convert between the modifier bits X uses and the modifier bits
3471 Emacs uses. */ 3470 Emacs uses. */
3472 3471
3473static unsigned int 3472unsigned int
3474x_x_to_emacs_modifiers (dpyinfo, state) 3473x_x_to_emacs_modifiers (dpyinfo, state)
3475 struct x_display_info *dpyinfo; 3474 struct x_display_info *dpyinfo;
3476 unsigned int state; 3475 unsigned int state;
@@ -3598,6 +3597,9 @@ note_mouse_movement (frame, event)
3598 last_mouse_motion_event = *event; 3597 last_mouse_motion_event = *event;
3599 XSETFRAME (last_mouse_motion_frame, frame); 3598 XSETFRAME (last_mouse_motion_frame, frame);
3600 3599
3600 if (!FRAME_X_OUTPUT (frame))
3601 return 0;
3602
3601 if (event->window != FRAME_X_WINDOW (frame)) 3603 if (event->window != FRAME_X_WINDOW (frame))
3602 { 3604 {
3603 frame->mouse_moved = 1; 3605 frame->mouse_moved = 1;