aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2013-11-29 10:53:50 +0200
committerEli Zaretskii2013-11-29 10:53:50 +0200
commitb7f79a5c4f0fc6d0ce4268249b4f247bd28c051f (patch)
treef0bc24a77697b4cafd63f525c30ad4446eac6ae5 /src
parent49faeaaf89c820082ba816d089fab5711c9d2b06 (diff)
downloademacs-b7f79a5c4f0fc6d0ce4268249b4f247bd28c051f.tar.gz
emacs-b7f79a5c4f0fc6d0ce4268249b4f247bd28c051f.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog6
-rw-r--r--src/xdisp.c5
2 files changed, 10 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index d117bc2bfba..c05845cef71 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,9 @@
12013-11-29 Eli Zaretskii <eliz@gnu.org>
2
3 * xdisp.c (clear_mouse_face): Don't invalidate the entire
4 mouse-highlight info, just signal frame_up_to_date_hook that mouse
5 highlight needs to be redisplayed. (Bug#15913)
6
12013-11-29 Paul Eggert <eggert@cs.ucla.edu> 72013-11-29 Paul Eggert <eggert@cs.ucla.edu>
2 8
3 Fix minor problems found by static checking. 9 Fix minor problems found by static checking.
diff --git a/src/xdisp.c b/src/xdisp.c
index 6357f4f5f3b..509780b50d1 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -26883,7 +26883,10 @@ clear_mouse_face (Mouse_HLInfo *hlinfo)
26883 cleared = 1; 26883 cleared = 1;
26884 } 26884 }
26885 26885
26886 reset_mouse_highlight (hlinfo); 26886 hlinfo->mouse_face_beg_row = hlinfo->mouse_face_beg_col = -1;
26887 hlinfo->mouse_face_end_row = hlinfo->mouse_face_end_col = -1;
26888 hlinfo->mouse_face_window = Qnil;
26889 hlinfo->mouse_face_overlay = Qnil;
26887 return cleared; 26890 return cleared;
26888} 26891}
26889 26892