aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xterm.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 85f3abb98b3..74482f8c84d 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -8,6 +8,8 @@
8 Ifdef away legacy code. 8 Ifdef away legacy code.
9 (XTmouse_position, x_scroll_bar_report_motion): 9 (XTmouse_position, x_scroll_bar_report_motion):
10 Use x_last_mouse_movement_time. 10 Use x_last_mouse_movement_time.
11 (handle_one_xevent): Use event.xunmap and not event.xmap when handling
12 UnmapNotify event.
11 13
122013-09-02 Dmitry Antipov <dmantipov@yandex.ru> 142013-09-02 Dmitry Antipov <dmantipov@yandex.ru>
13 15
diff --git a/src/xterm.c b/src/xterm.c
index 1870aae5a6d..2def3ef11d5 100644
--- a/src/xterm.c
+++ b/src/xterm.c
@@ -6183,7 +6183,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, XEvent *eventptr,
6183 6183
6184 case UnmapNotify: 6184 case UnmapNotify:
6185 /* Redo the mouse-highlight after the tooltip has gone. */ 6185 /* Redo the mouse-highlight after the tooltip has gone. */
6186 if (event.xmap.window == tip_window) 6186 if (event.xunmap.window == tip_window)
6187 { 6187 {
6188 tip_window = 0; 6188 tip_window = 0;
6189 redo_mouse_highlight (); 6189 redo_mouse_highlight ();