From: Dmitry Antipov Date: Mon, 2 Sep 2013 11:24:11 +0000 (+0400) Subject: * xterm.c (handle_one_xevent): Use event.xunmap and not event.xmap when X-Git-Tag: emacs-24.3.90~173^2^2~42^2~45^2~387^2~1686^2~18 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=fc85e20be1f86f396f08b24ae8e82eb68f5306bd;p=emacs.git * xterm.c (handle_one_xevent): Use event.xunmap and not event.xmap when handling UnmapNotify event. --- diff --git a/src/ChangeLog b/src/ChangeLog index 85f3abb98b3..74482f8c84d 100644 --- a/src/ChangeLog +++ b/src/ChangeLog @@ -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 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, 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 ();