emacs-diffs
[Top][All Lists]
Advanced

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

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


From: Chong Yidong
Subject: [Emacs-diffs] Changes to emacs/src/xdisp.c,v
Date: Sat, 20 Jan 2007 21:03:23 +0000

CVSROOT:        /cvsroot/emacs
Module name:    emacs
Changes by:     Chong Yidong <cyd>      07/01/20 21:03:22

Index: xdisp.c
===================================================================
RCS file: /cvsroot/emacs/emacs/src/xdisp.c,v
retrieving revision 1.1136
retrieving revision 1.1137
diff -u -b -r1.1136 -r1.1137
--- xdisp.c     29 Dec 2006 23:29:45 -0000      1.1136
+++ xdisp.c     20 Jan 2007 21:03:22 -0000      1.1137
@@ -13538,6 +13538,15 @@
   struct window *w = XWINDOW (window);
   struct it it;
   struct glyph_row *last_text_row = NULL;
+  struct frame *f = XFRAME (w->frame);
+
+  /* Clear any existing mouse-face highlights.  */
+  if (FRAME_WINDOW_P (f))
+    {
+      update_begin (f);
+      rif->clear_window_mouse_face (w);
+      update_end (f);
+    }
 
   /* Make POS the new window start.  */
   set_marker_both (w->start, Qnil, CHARPOS (pos), BYTEPOS (pos));




reply via email to

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