From: Sebastian Dransfeld Date: Fri, 16 Nov 2012 08:01:39 +0000 (+0000) Subject: ecore_x: first unmap, then event X-Git-Tag: submit/devel/efl/20131022.203902~3321 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=a51a0c0af20751712c34f9fd6c8d0d110a0aa2cb;p=platform%2Fupstream%2Fefl.git ecore_x: first unmap, then event SVN revision: 79362 --- 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) &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); } /**