From 6225104f422fbf2caaeeff8b7b7e43d335fff138 Mon Sep 17 00:00:00 2001 From: Rusty Lynch Date: Mon, 16 Dec 2013 13:38:19 -0800 Subject: [PATCH] TIVI-2327: Do not call wl_pointer_set_cursor on null input->pointer Change-Id: I3a60af595b52a5c98144993f3512694f7b707575 Signed-off-by: Rusty Lynch --- src/lib/ecore_wayland/ecore_wl_input.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index 4d0d688..2051651 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 { LOGFN(__FILE__, __LINE__, __FUNCTION__); - if (input) + if (input && input->pointer) wl_pointer_set_cursor(input->pointer, input->pointer_enter_serial, surface, hot_x, hot_y); } -- 2.7.4