diff options
author | Eli Zaretskii <eliz@gnu.org> | 2013-11-29 10:53:50 +0200 |
---|---|---|
committer | Eli Zaretskii <eliz@gnu.org> | 2013-11-29 10:53:50 +0200 |
commit | b7f79a5c4f0fc6d0ce4268249b4f247bd28c051f (patch) | |
tree | f0bc24a77697b4cafd63f525c30ad4446eac6ae5 /src/xdisp.c | |
parent | 49faeaaf89c820082ba816d089fab5711c9d2b06 (diff) |
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/xdisp.c')
-rw-r--r-- | src/xdisp.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/xdisp.c b/src/xdisp.c index 6357f4f5f3..509780b50d 100644 --- a/src/xdisp.c +++ b/src/xdisp.c @@ -26883,7 +26883,10 @@ clear_mouse_face (Mouse_HLInfo *hlinfo) 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; } |