forked from enlightenment/efl
Ecore_X (xcb): Make sure we have a valid connection before checking
source state. Signed-off-by: Christopher Michael <cp.michael@samsung.com> SVN revision: 77694
This commit is contained in:
parent
aad2041e55
commit
922030ca72
|
@ -529,11 +529,11 @@ _ecore_xcb_dnd_drag(Ecore_X_Window root,
|
|||
Ecore_X_Xdnd_Position pos;
|
||||
int num = 0;
|
||||
|
||||
if (_source->state != ECORE_X_DND_SOURCE_DRAGGING) return;
|
||||
|
||||
LOGFN(__FILE__, __LINE__, __FUNCTION__);
|
||||
CHECK_XCB_CONN;
|
||||
|
||||
if (_source->state != ECORE_X_DND_SOURCE_DRAGGING) return;
|
||||
|
||||
memset(&ev, 0, sizeof(xcb_client_message_event_t));
|
||||
|
||||
ev.response_type = XCB_CLIENT_MESSAGE;
|
||||
|
|
Loading…
Reference in New Issue