ecore_x: first unmap, then event

SVN revision: 79362
This commit is contained in:
Sebastian Dransfeld 2012-11-16 08:01:39 +00:00
parent 5f507f3330
commit a51a0c0af2
1 changed files with 1 additions and 1 deletions

View File

@ -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);
}
/**