aboutsummaryrefslogtreecommitdiffstats
path: root/src/window.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/window.c')
-rw-r--r--src/window.c8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/window.c b/src/window.c
index aa52efc1b4e..1331ac014ff 100644
--- a/src/window.c
+++ b/src/window.c
@@ -2845,7 +2845,7 @@ window-start value is reasonable when this function is called. */)
2845 block_input (); 2845 block_input ();
2846 if (!FRAME_INITIAL_P (f)) 2846 if (!FRAME_INITIAL_P (f))
2847 { 2847 {
2848 Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f); 2848 Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (f);
2849 2849
2850 /* We are going to free the glyph matrices of WINDOW, and with 2850 /* We are going to free the glyph matrices of WINDOW, and with
2851 that we might lose any information about glyph rows that have 2851 that we might lose any information about glyph rows that have
@@ -2855,11 +2855,7 @@ window-start value is reasonable when this function is called. */)
2855 frame's up-to-date hook that mouse highlight was overwritten, 2855 frame's up-to-date hook that mouse highlight was overwritten,
2856 so that it will arrange for redisplaying the highlight. */ 2856 so that it will arrange for redisplaying the highlight. */
2857 if (EQ (hlinfo->mouse_face_window, window)) 2857 if (EQ (hlinfo->mouse_face_window, window))
2858 { 2858 reset_mouse_highlight (hlinfo);
2859 hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1;
2860 hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1;
2861 hlinfo->mouse_face_window = Qnil;
2862 }
2863 } 2859 }
2864 free_window_matrices (r); 2860 free_window_matrices (r);
2865 2861