aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-16 08:01:39 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-16 08:01:39 +0000
commita51a0c0af20751712c34f9fd6c8d0d110a0aa2cb (patch)
treeb0ad2e9e9b9f8a5bd3b7bc05328957512ebc7e6d
parentemotion: Tag unused paramter. warn-- (diff)
downloadefl-a51a0c0af20751712c34f9fd6c8d0d110a0aa2cb.tar.gz
ecore_x: first unmap, then event
SVN revision: 79362
-rw-r--r--legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
index f16f5b1a51..843694cbd5 100644
--- a/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
+++ b/legacy/ecore/src/lib/ecore_x/xlib/ecore_x_window.c
@@ -470,6 +470,7 @@ ecore_x_window_hide(Ecore_X_Window win)
&uidum,
&uidum);
+ XUnmapWindow(_ecore_x_disp, win);
xev.xunmap.type = UnmapNotify;
xev.xunmap.serial = 0;
xev.xunmap.send_event = True;
@@ -479,7 +480,6 @@ ecore_x_window_hide(Ecore_X_Window win)
xev.xunmap.from_configure = False;
XSendEvent(_ecore_x_disp, xev.xunmap.event, False,
SubstructureRedirectMask | SubstructureNotifyMask, &xev);
- XUnmapWindow(_ecore_x_disp, win);
}
/**