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:
Marcel Hollerbach 2017-04-19 17:29:34 +02:00
parent 43ebf4a011
commit b5ad46b33b
1 changed files with 2 additions and 0 deletions

View File

@ -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);