aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSebastian Dransfeld <sd@tango.flipp.net>2012-11-16 08:07:20 +0000
committerSebastian Dransfeld <sd@tango.flipp.net>2012-11-16 08:07:20 +0000
commit0a359ced029a5de917540d3ddfab7218a54ef104 (patch)
tree22b21ea30c72c31518049ed8f3e40355b379e97e
parentecore_x: first unmap, then event (diff)
downloadefl-0a359ced029a5de917540d3ddfab7218a54ef104.tar.gz
ecore_x: fix xcb to unmap before sendevent
SVN revision: 79363
-rw-r--r--legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
index 8e38c5a390..ba18b503b9 100644
--- a/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
+++ b/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
@@ -734,6 +734,7 @@ ecore_x_window_hide(Ecore_X_Window win)
free(reply);
}
+ xcb_unmap_window(_ecore_xcb_conn, win);
memset(&ev, 0, sizeof(xcb_unmap_notify_event_t));
ev.response_type = XCB_UNMAP_NOTIFY;
@@ -746,7 +747,6 @@ ecore_x_window_hide(Ecore_X_Window win)
XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT),
(const char *)&ev);
- xcb_unmap_window(_ecore_xcb_conn, win);
// ecore_x_flush();
}
}