forked from enlightenment/efl
ecore_wayland: Check for null inputs
Summary: The other functions in this module check inputs; this one should as well. Reviewers: zmike Subscribers: cedric Differential Revision: https://phab.enlightenment.org/D2210
This commit is contained in:
parent
69e827ef0c
commit
931db7f12e
|
@ -250,6 +250,8 @@ _ecore_wl_input_cursor_update(void *data)
|
||||||
Ecore_Wl_Input *input = data;
|
Ecore_Wl_Input *input = data;
|
||||||
unsigned int delay;
|
unsigned int delay;
|
||||||
|
|
||||||
|
if ((!input) || (!input->cursor)) return EINA_FALSE;
|
||||||
|
|
||||||
cursor_image = input->cursor->images[input->cursor_current_index];
|
cursor_image = input->cursor->images[input->cursor_current_index];
|
||||||
if (!cursor_image) return ECORE_CALLBACK_RENEW;
|
if (!cursor_image) return ECORE_CALLBACK_RENEW;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue