Add a check for valid connection in ecore_xcb_icccm.c
NB: For some reason, XCB does not like ecore's timestamp which is
being passed in. Since all the calls to ecore_x_window_focus_at_time
are being passed the current timestamp anyway, just use
XCB_CURRENT_TIME until I have more available 'free time' to dig deeper
into this.
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/ecore@67136
7cbeb6ba-43b4-40fd-8cce-
4c39aea84d33
Ecore_X_Time t)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
+ CHECK_XCB_CONN;
ecore_x_client_message32_send(win, ECORE_X_ATOM_WM_PROTOCOLS,
XCB_EVENT_MASK_NO_EVENT,
*/
EAPI void
ecore_x_window_focus_at_time(Ecore_X_Window win,
- Ecore_X_Time time)
+ Ecore_X_Time time __UNUSED__)
{
LOGFN(__FILE__, __LINE__, __FUNCTION__);
CHECK_XCB_CONN;
if (!win) win = ((xcb_screen_t *)_ecore_xcb_screen)->root;
- xcb_set_input_focus(_ecore_xcb_conn, XCB_INPUT_FOCUS_PARENT, win, time);
+ xcb_set_input_focus(_ecore_xcb_conn,
+ XCB_INPUT_FOCUS_PARENT, win, XCB_CURRENT_TIME);
// ecore_x_flush();
}