summaryrefslogtreecommitdiff
path: root/src/lib/ecore_wayland
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2015-03-20 22:06:58 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2015-03-20 22:07:21 -0400
commit931db7f12edaf56e0eeeb7d5ddbfbed147931941 (patch)
treedb960249e158935bed2e3800018fa44ae5a424ca /src/lib/ecore_wayland
parent69e827ef0c27ec2536560880da45dad5e68cc683 (diff)
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
Diffstat (limited to 'src/lib/ecore_wayland')
-rw-r--r--src/lib/ecore_wayland/ecore_wl_input.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c
index c0031bb..d9f2fd3 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -250,6 +250,8 @@ _ecore_wl_input_cursor_update(void *data)
250 Ecore_Wl_Input *input = data; 250 Ecore_Wl_Input *input = data;
251 unsigned int delay; 251 unsigned int delay;
252 252
253 if ((!input) || (!input->cursor)) return EINA_FALSE;
254
253 cursor_image = input->cursor->images[input->cursor_current_index]; 255 cursor_image = input->cursor->images[input->cursor_current_index];
254 if (!cursor_image) return ECORE_CALLBACK_RENEW; 256 if (!cursor_image) return ECORE_CALLBACK_RENEW;
255 257