aboutsummaryrefslogtreecommitdiffstats
path: root/src/xterm.c
diff options
context:
space:
mode:
authorDmitry Antipov2013-09-02 15:24:11 +0400
committerDmitry Antipov2013-09-02 15:24:11 +0400
commitfc85e20be1f86f396f08b24ae8e82eb68f5306bd (patch)
tree1bece291627bf805705ef5d74e6f1761af2549b6 /src/xterm.c
parentdef74bdc4849c1bae460ffadd47072a7171215b3 (diff)
downloademacs-fc85e20be1f86f396f08b24ae8e82eb68f5306bd.tar.gz
emacs-fc85e20be1f86f396f08b24ae8e82eb68f5306bd.zip
* xterm.c (handle_one_xevent): Use event.xunmap and not event.xmap when
handling UnmapNotify event.
Diffstat (limited to 'src/xterm.c')
-rw-r--r--src/xterm.c2
1 files changed, 1 insertions, 1 deletions
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 ();