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, 8 insertions, 0 deletions
diff --git a/src/window.c b/src/window.c
index a3b58d648a1..b50ae71df8c 100644
--- a/src/window.c
+++ b/src/window.c
@@ -3888,6 +3888,8 @@ Signal an error when WINDOW is the only window on its frame. */)
3888 && EQ (r->new_total, (horflag ? r->total_cols : r->total_lines))) 3888 && EQ (r->new_total, (horflag ? r->total_cols : r->total_lines)))
3889 /* We can delete WINDOW now. */ 3889 /* We can delete WINDOW now. */
3890 { 3890 {
3891 Mouse_HLInfo *hlinfo;
3892
3891 /* Block input. */ 3893 /* Block input. */
3892 BLOCK_INPUT; 3894 BLOCK_INPUT;
3893#ifdef HAVE_XWIDGETS 3895#ifdef HAVE_XWIDGETS
@@ -3895,6 +3897,12 @@ Signal an error when WINDOW is the only window on its frame. */)
3895#endif 3897#endif
3896 window_resize_apply (p, horflag); 3898 window_resize_apply (p, horflag);
3897 3899
3900 /* If this window is referred to by the dpyinfo's mouse
3901 highlight, invalidate that slot to be safe (Bug#9904). */
3902 hlinfo = MOUSE_HL_INFO (XFRAME (w->frame));
3903 if (EQ (hlinfo->mouse_face_window, window))
3904 hlinfo->mouse_face_window = Qnil;
3905
3898 windows_or_buffers_changed++; 3906 windows_or_buffers_changed++;
3899 Vwindow_list = Qnil; 3907 Vwindow_list = Qnil;
3900 FRAME_WINDOW_SIZES_CHANGED (f) = 1; 3908 FRAME_WINDOW_SIZES_CHANGED (f) = 1;