Ecore_X(cb): Add missing flush after xcb_send_event.
authordevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Sep 2011 15:47:56 +0000 (15:47 +0000)
committerdevilhorns <devilhorns@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Tue, 13 Sep 2011 15:47:56 +0000 (15:47 +0000)
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/ecore@63358 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/ecore_x/xcb/ecore_xcb_netwm.c
src/lib/ecore_x/xcb/ecore_xcb_selection.c

index 9c5c4cc..32903b0 100644 (file)
@@ -699,6 +699,7 @@ ecore_x_netwm_desktop_request_send(Ecore_X_Window win, Ecore_X_Window root, unsi
    xcb_send_event(_ecore_xcb_conn, 0, root, 
                   (XCB_EVENT_MASK_SUBSTRUCTURE_REDIRECT | 
                       XCB_EVENT_MASK_SUBSTRUCTURE_NOTIFY), (const char *)&ev);
+   ecore_x_flush();
 }
 
 EAPI void 
index 016a889..c7e5c02 100644 (file)
@@ -454,6 +454,7 @@ ecore_x_selection_notify_send(Ecore_X_Window requestor, Ecore_X_Atom selection,
 
    xcb_send_event(_ecore_xcb_conn, 0, requestor, 
                   XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
+   ecore_x_flush();
 
    return EINA_TRUE;
 }