emacs-diffs
[Top][All Lists]
Advanced

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

[Emacs-diffs] trunk r115281: More thorough fix of bug #15913 with mouse-


From: Eli Zaretskii
Subject: [Emacs-diffs] trunk r115281: More thorough fix of bug #15913 with mouse-highlight on MS-Windows.
Date: Fri, 29 Nov 2013 08:54:43 +0000
User-agent: Bazaar (2.6b2)

------------------------------------------------------------
revno: 115281
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15913
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Fri 2013-11-29 10:53:50 +0200
message:
  More thorough fix of bug #15913 with mouse-highlight on MS-Windows.
  
   src/xdisp.c (clear_mouse_face): Don't invalidate the entire
   mouse-highlight info, just signal frame_up_to_date_hook that mouse
   highlight needs to be redisplayed.
modified:
  src/ChangeLog                  changelog-20091113204419-o5vbwnq5f7feedwu-1438
  src/xdisp.c                    xdisp.c-20091113204419-o5vbwnq5f7feedwu-240
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog     2013-11-29 05:25:25 +0000
+++ b/src/ChangeLog     2013-11-29 08:53:50 +0000
@@ -1,3 +1,9 @@
+2013-11-29  Eli Zaretskii  <address@hidden>
+
+       * xdisp.c (clear_mouse_face): Don't invalidate the entire
+       mouse-highlight info, just signal frame_up_to_date_hook that mouse
+       highlight needs to be redisplayed.  (Bug#15913)
+
 2013-11-29  Paul Eggert  <address@hidden>
 
        Fix minor problems found by static checking.

=== modified file 'src/xdisp.c'
--- a/src/xdisp.c       2013-11-29 05:25:25 +0000
+++ b/src/xdisp.c       2013-11-29 08:53:50 +0000
@@ -26883,7 +26883,10 @@
       cleared = 1;
     }
 
-  reset_mouse_highlight (hlinfo);
+  hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1;
+  hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1;
+  hlinfo->mouse_face_window = Qnil;
+  hlinfo->mouse_face_overlay = Qnil;
   return cleared;
 }
 


reply via email to

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