Commit fc85e20b authored by Dmitry Antipov's avatar Dmitry Antipov

* xterm.c (handle_one_xevent): Use event.xunmap and not event.xmap when

handling UnmapNotify event.
parent def74bdc
......@@ -8,6 +8,8 @@
Ifdef away legacy code.
(XTmouse_position, x_scroll_bar_report_motion):
Use x_last_mouse_movement_time.
(handle_one_xevent): Use event.xunmap and not event.xmap when handling
UnmapNotify event.
2013-09-02 Dmitry Antipov <dmantipov@yandex.ru>
......
......@@ -6183,7 +6183,7 @@ handle_one_xevent (struct x_display_info *dpyinfo, XEvent *eventptr,
case UnmapNotify:
/* Redo the mouse-highlight after the tooltip has gone. */
if (event.xmap.window == tip_window)
if (event.xunmap.window == tip_window)
{
tip_window = 0;
redo_mouse_highlight ();
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment