summaryrefslogtreecommitdiff
path: root/legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
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 /legacy/ecore/src/lib/ecore_x/xcb/ecore_xcb_window.c
parenta51a0c0af20751712c34f9fd6c8d0d110a0aa2cb (diff)
ecore_x: fix xcb to unmap before sendevent
SVN revision: 79363
Diffstat (limited to '')
-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)
734 free(reply); 734 free(reply);
735 } 735 }
736 736
737 xcb_unmap_window(_ecore_xcb_conn, win);
737 memset(&ev, 0, sizeof(xcb_unmap_notify_event_t)); 738 memset(&ev, 0, sizeof(xcb_unmap_notify_event_t));
738 739
739 ev.response_type = XCB_UNMAP_NOTIFY; 740 ev.response_type = XCB_UNMAP_NOTIFY;
@@ -746,7 +747,6 @@ ecore_x_window_hide(Ecore_X_Window win)
746 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT), 747 XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT),
747 (const char *)&ev); 748 (const char *)&ev);
748 749
749 xcb_unmap_window(_ecore_xcb_conn, win);
750// ecore_x_flush(); 750// ecore_x_flush();
751 } 751 }
752} 752}