summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRusty Lynch <rusty.lynch@intel.com>2013-12-16 13:38:19 -0800
committerEduardo Lima (Etrunko) <eduardo.lima@intel.com>2013-12-19 17:47:50 -0200
commit76a3292d1c82e7a4904c3408d05b8732816c3062 (patch)
tree0ad6121782ba3a485b88795e58ebb86d5f9c35f3
parentdbe42d8762340a4bff6b884e75dacc2be1c2d080 (diff)
TIVI-2327: Do not call wl_pointer_set_cursor on null input->pointer
Change-Id: I3a60af595b52a5c98144993f3512694f7b707575 Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
-rw-r--r--src/lib/ecore_wayland/ecore_wl_input.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c
index 4d0d688d..2051651b 100644
--- a/src/lib/ecore_wayland/ecore_wl_input.c
+++ b/src/lib/ecore_wayland/ecore_wl_input.c
@@ -176,7 +176,7 @@ ecore_wl_input_pointer_set(Ecore_Wl_Input *input, struct wl_surface *surface, in
176{ 176{
177 LOGFN(__FILE__, __LINE__, __FUNCTION__); 177 LOGFN(__FILE__, __LINE__, __FUNCTION__);
178 178
179 if (input) 179 if (input && input->pointer)
180 wl_pointer_set_cursor(input->pointer, input->pointer_enter_serial, 180 wl_pointer_set_cursor(input->pointer, input->pointer_enter_serial,
181 surface, hot_x, hot_y); 181 surface, hot_x, hot_y);
182} 182}