forked from enlightenment/enlightenment
tiling: extra can be NULL here
Which is the case when the client is not tiled. So better checking for it. fixes CID 1373271
This commit is contained in:
parent
43ebf4a011
commit
b5ad46b33b
|
@ -1611,6 +1611,8 @@ _client_drag_mouse_up(void *data, int event EINA_UNUSED, void *event_info EINA_U
|
|||
E_Client *ec = data;
|
||||
Client_Extra *extra = tiling_entry_func(ec);
|
||||
|
||||
if (!extra) return ECORE_CALLBACK_PASS_ON;
|
||||
|
||||
if (extra->drag.drag)
|
||||
_client_drag_terminate(data);
|
||||
|
||||
|
|
Loading…
Reference in New Issue