summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xlib
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 /legacy/ecore/src/lib/ecore_x/xlib
parent5f507f3330cac91bf41853c3e308eb148c1ebc4e (diff)
ecore_x: first unmap, then event
SVN revision: 79362
Diffstat (limited to 'legacy/ecore/src/lib/ecore_x/xlib')
-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 f16f5b1..843694c 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)
470 &uidum, 470 &uidum,
471 &uidum); 471 &uidum);
472 472
473 XUnmapWindow(_ecore_x_disp, win);
473 xev.xunmap.type = UnmapNotify; 474 xev.xunmap.type = UnmapNotify;
474 xev.xunmap.serial = 0; 475 xev.xunmap.serial = 0;
475 xev.xunmap.send_event = True; 476 xev.xunmap.send_event = True;
@@ -479,7 +480,6 @@ ecore_x_window_hide(Ecore_X_Window win)
479 xev.xunmap.from_configure = False; 480 xev.xunmap.from_configure = False;
480 XSendEvent(_ecore_x_disp, xev.xunmap.event, False, 481 XSendEvent(_ecore_x_disp, xev.xunmap.event, False,
481 SubstructureRedirectMask | SubstructureNotifyMask, &xev); 482 SubstructureRedirectMask | SubstructureNotifyMask, &xev);
482 XUnmapWindow(_ecore_x_disp, win);
483} 483}
484 484
485/** 485/**