]> git.eshelyaron.com Git - emacs.git/commitdiff
* xterm.c (handle_one_xevent): Use event.xunmap and not event.xmap when
authorDmitry Antipov <dmantipov@yandex.ru>
Mon, 2 Sep 2013 11:24:11 +0000 (15:24 +0400)
committerDmitry Antipov <dmantipov@yandex.ru>
Mon, 2 Sep 2013 11:24:11 +0000 (15:24 +0400)
handling UnmapNotify event.

src/ChangeLog
src/xterm.c

index 85f3abb98b314206d523cfd026553bfd01b7b9c2..74482f8c84da7bf46d9c2a8a9d760b2cbb691ea5 100644 (file)
@@ -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>
 
index 1870aae5a6d41702b7b377012123002e3de30b17..2def3ef11d55f5234fa1ab13d461ca6ebeb93851 100644 (file)
@@ -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 ();