From: Duna Oh Date: Tue, 29 Mar 2016 06:27:27 +0000 (+0900) Subject: ecore_wl_input: use cursor_name instead of 'left_ptr' on pointer_enter X-Git-Tag: submit/tizen/20160405.081422~1 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=220586fdd248312bd49bc6f845274f567ec550c7;p=platform%2Fupstream%2Fefl.git ecore_wl_input: use cursor_name instead of 'left_ptr' on pointer_enter If the cursor_name is already defined on pointer_enter, use cursor_name instead. Signed-off-by: Duna Oh Change-Id: I3fb6d0730aa55788979bdceac064e3cafccc869c --- diff --git a/src/lib/ecore_wayland/ecore_wl_input.c b/src/lib/ecore_wayland/ecore_wl_input.c index 0a49cc8..0c7a06f 100644 --- a/src/lib/ecore_wayland/ecore_wl_input.c +++ b/src/lib/ecore_wayland/ecore_wl_input.c @@ -1140,7 +1140,7 @@ _ecore_wl_input_cb_pointer_enter(void *data, struct wl_pointer *pointer EINA_UNU input->pointer_enter_serial = serial; /* The cursor on the surface is undefined until we set it */ - ecore_wl_input_cursor_from_name_set(input, "left_ptr"); + ecore_wl_input_cursor_from_name_set(input, input->cursor_name); if ((win = ecore_wl_window_surface_find(surface))) {