[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Emacs-diffs] trunk r115130: Fix bug #15913 with disappearing mouse high
From: |
Eli Zaretskii |
Subject: |
[Emacs-diffs] trunk r115130: Fix bug #15913 with disappearing mouse highlight on MS-Windows. |
Date: |
Sun, 17 Nov 2013 21:02:54 +0000 |
User-agent: |
Bazaar (2.6b2) |
------------------------------------------------------------
revno: 115130
revision-id: address@hidden
parent: address@hidden
fixes bug: http://debbugs.gnu.org/15913
committer: Eli Zaretskii <address@hidden>
branch nick: trunk
timestamp: Sun 2013-11-17 23:02:09 +0200
message:
Fix bug #15913 with disappearing mouse highlight on MS-Windows.
src/w32term.c (x_update_window_end): 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/w32term.c w32term.c-20091113204419-o5vbwnq5f7feedwu-950
=== modified file 'src/ChangeLog'
--- a/src/ChangeLog 2013-11-17 03:58:30 +0000
+++ b/src/ChangeLog 2013-11-17 21:02:09 +0000
@@ -1,3 +1,9 @@
+2013-11-17 Eli Zaretskii <address@hidden>
+
+ * w32term.c (x_update_window_end): 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-17 Paul Eggert <address@hidden>
* lisp.h (DEBUGGER_SEES_C_MACROS): Remove.
=== modified file 'src/w32term.c'
--- a/src/w32term.c 2013-10-29 05:55:25 +0000
+++ b/src/w32term.c 2013-11-17 21:02:09 +0000
@@ -656,7 +656,13 @@
/* If a row with mouse-face was overwritten, arrange for
XTframe_up_to_date to redisplay the mouse highlight. */
if (mouse_face_overwritten_p)
- reset_mouse_highlight (MOUSE_HL_INFO (XFRAME (w->frame)));
+ {
+ Mouse_HLInfo *hlinfo = MOUSE_HL_INFO (XFRAME (w->frame));
+
+ 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;
+ }
/* Unhide the caret. This won't actually show the cursor, unless it
was visible before the corresponding call to HideCaret in
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Emacs-diffs] trunk r115130: Fix bug #15913 with disappearing mouse highlight on MS-Windows.,
Eli Zaretskii <=