TIVI-2327: Do not call wl_pointer_set_cursor on null input->pointer 07/13807/1 accepted/tizen/ivi/20131217.184850 accepted/tizen/ivi/20131219.030948 submit/tizen/20131217.000352 submit/tizen/20131219.031152
authorRusty Lynch <rusty.lynch@intel.com>
Mon, 16 Dec 2013 21:38:19 +0000 (13:38 -0800)
committerRusty Lynch <rusty.lynch@intel.com>
Mon, 16 Dec 2013 21:40:11 +0000 (13:40 -0800)
Change-Id: I3a60af595b52a5c98144993f3512694f7b707575
Signed-off-by: Rusty Lynch <rusty.lynch@intel.com>
src/lib/ecore_wayland/ecore_wl_input.c

index 4d0d688..2051651 100644 (file)
@@ -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);
 }