aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/xdisp.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xdisp.c b/src/xdisp.c
index 3a8b5e3f1d0..a4de2698ca0 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -31454,6 +31454,10 @@ show_mouse_face (Mouse_HLInfo *hlinfo, enum draw_glyphs_face draw)
31454 struct window *w = XWINDOW (hlinfo->mouse_face_window); 31454 struct window *w = XWINDOW (hlinfo->mouse_face_window);
31455 struct frame *f = XFRAME (WINDOW_FRAME (w)); 31455 struct frame *f = XFRAME (WINDOW_FRAME (w));
31456 31456
31457 /* Don't bother doing anything if we are on a wrong frame. */
31458 if (f != hlinfo->mouse_face_mouse_frame)
31459 return;
31460
31457 if (/* If window is in the process of being destroyed, don't bother 31461 if (/* If window is in the process of being destroyed, don't bother
31458 to do anything. */ 31462 to do anything. */
31459 w->current_matrix != NULL 31463 w->current_matrix != NULL