aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xterm.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/src/xterm.c b/src/xterm.c
index e910de5b281..9d8e40b7de6 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -421,9 +421,10 @@ XTframe_up_to_date (f)
421 if (FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc 421 if (FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc
422 || f == FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame) 422 || f == FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame)
423 { 423 {
424 note_mouse_highlight (FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame, 424 if (FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame)
425 FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_x, 425 note_mouse_highlight (FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_frame,
426 FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_y); 426 FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_x,
427 FRAME_X_DISPLAY_INFO (f)->mouse_face_mouse_y);
427 FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc = 0; 428 FRAME_X_DISPLAY_INFO (f)->mouse_face_deferred_gc = 0;
428 } 429 }
429 UNBLOCK_INPUT; 430 UNBLOCK_INPUT;
@@ -6114,6 +6115,8 @@ x_destroy_window (f)
6114 dpyinfo->mouse_face_end_row 6115 dpyinfo->mouse_face_end_row
6115 = dpyinfo->mouse_face_end_col = -1; 6116 = dpyinfo->mouse_face_end_col = -1;
6116 dpyinfo->mouse_face_window = Qnil; 6117 dpyinfo->mouse_face_window = Qnil;
6118 dpyinfo->mouse_face_deferred_gc = 0;
6119 dpyinfo->mouse_face_mouse_frame = 0;
6117 } 6120 }
6118 6121
6119 UNBLOCK_INPUT; 6122 UNBLOCK_INPUT;