Ecore_X(cb): Add missing flush after send_event(s). Remove unused code.

SVN revision: 63007
This commit is contained in:
Christopher Michael 2011-08-30 18:37:47 +00:00
parent 2a3c45fd63
commit f1804f736b
1 changed files with 7 additions and 15 deletions

View File

@ -38,6 +38,7 @@ ecore_x_e_comp_sync_draw_done_send(Ecore_X_Window root, Ecore_X_Window win)
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
@ -64,6 +65,7 @@ ecore_x_e_comp_sync_draw_size_done_send(Ecore_X_Window root, Ecore_X_Window win,
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
@ -154,9 +156,6 @@ ecore_x_e_comp_sync_begin_send(Ecore_X_Window win)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
/* ecore_x_client_message32_send(win, ECORE_X_ATOM_E_COMP_SYNC_BEGIN, */
/* XCB_EVENT_MASK_NO_EVENT, win, 0, 0, 0, 0); */
memset(&ev, 0, sizeof(xcb_client_message_event_t));
ev.response_type = XCB_CLIENT_MESSAGE;
@ -171,6 +170,7 @@ ecore_x_e_comp_sync_begin_send(Ecore_X_Window win)
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
ecore_x_flush();
}
EAPI void
@ -180,9 +180,6 @@ ecore_x_e_comp_sync_end_send(Ecore_X_Window win)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
/* ecore_x_client_message32_send(win, ECORE_X_ATOM_E_COMP_SYNC_END, */
/* XCB_EVENT_MASK_NO_EVENT, win, 0, 0, 0, 0); */
memset(&ev, 0, sizeof(xcb_client_message_event_t));
ev.response_type = XCB_CLIENT_MESSAGE;
@ -197,6 +194,7 @@ ecore_x_e_comp_sync_end_send(Ecore_X_Window win)
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
ecore_x_flush();
}
EAPI void
@ -206,9 +204,6 @@ ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
/* ecore_x_client_message32_send(win, ECORE_X_ATOM_E_COMP_SYNC_CANCEL, */
/* XCB_EVENT_MASK_NO_EVENT, win, 0, 0, 0, 0); */
memset(&ev, 0, sizeof(xcb_client_message_event_t));
ev.response_type = XCB_CLIENT_MESSAGE;
@ -223,6 +218,7 @@ ecore_x_e_comp_sync_cancel_send(Ecore_X_Window win)
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
ecore_x_flush();
}
EAPI void
@ -232,9 +228,6 @@ ecore_x_e_comp_flush_send(Ecore_X_Window win)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
/* ecore_x_client_message32_send(win, ECORE_X_ATOM_E_COMP_FLUSH, */
/* XCB_EVENT_MASK_NO_EVENT, win, 0, 0, 0, 0); */
memset(&ev, 0, sizeof(xcb_client_message_event_t));
ev.response_type = XCB_CLIENT_MESSAGE;
@ -249,6 +242,7 @@ ecore_x_e_comp_flush_send(Ecore_X_Window win)
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
ecore_x_flush();
}
EAPI void
@ -258,9 +252,6 @@ ecore_x_e_comp_dump_send(Ecore_X_Window win)
LOGFN(__FILE__, __LINE__, __FUNCTION__);
/* ecore_x_client_message32_send(win, ECORE_X_ATOM_E_COMP_DUMP, */
/* XCB_EVENT_MASK_NO_EVENT, win, 0, 0, 0, 0); */
memset(&ev, 0, sizeof(xcb_client_message_event_t));
ev.response_type = XCB_CLIENT_MESSAGE;
@ -275,6 +266,7 @@ ecore_x_e_comp_dump_send(Ecore_X_Window win)
xcb_send_event(_ecore_xcb_conn, 0, win,
XCB_EVENT_MASK_NO_EVENT, (const char *)&ev);
ecore_x_flush();
}
EAPI void