emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] Changes to emacs/src/window.c,v


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/window.c,v
Date: Wed, 22 Nov 2006 15:10:07 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      06/11/22 15:10:06

Index: window.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/window.c,v
retrieving revision 1.564
retrieving revision 1.565
diff -u -b -r1.564 -r1.565
--- window.c    28 Oct 2006 22:03:51 -0000      1.564
+++ window.c    22 Nov 2006 15:10:06 -0000      1.565
@@ -3265,6 +3265,11 @@
   struct window *w = XWINDOW (window);
   struct buffer *b = XBUFFER (buffer);
   int count = SPECPDL_INDEX ();
+#ifdef HAVE_WINDOW_SYSTEM
+  struct frame *f = XFRAME (w->frame);
+  Display_Info *dpyinfo = (f && FRAME_X_OUTPUT (f)) ?
+    FRAME_X_DISPLAY_INFO (f) : NULL;
+#endif
 
   w->buffer = buffer;
 
@@ -3345,6 +3350,11 @@
        call1 (Vrun_hooks, Qwindow_configuration_change_hook);
     }
 
+#ifdef HAVE_WINDOW_SYSTEM
+  if (dpyinfo && EQ (window, dpyinfo->mouse_face_window))
+    clear_mouse_face (dpyinfo);
+#endif
+
   unbind_to (count, Qnil);
 }
 




reply via email to

[Prev in Thread] Current Thread [Next in Thread]