When setting a cursor by name, the _ecore_wl2_input_cursor_set
function already makes a call to stop updating the cursor, so no need
to run that twice.
@fix
Signed-off-by: Chris Michael <cp.michael@samsung.com>
_ecore_wl2_input_cursor_update_stop(input);
if (input->wl.pointer)
- wl_pointer_set_cursor(input->wl.pointer,
- input->pointer.enter_serial,
+ wl_pointer_set_cursor(input->wl.pointer, input->pointer.enter_serial,
surface, hot_x, hot_y);
}
input = ecore_wl2_window_input_get(window);
if (!input) return;
- _ecore_wl2_input_cursor_update_stop(input);
_ecore_wl2_input_cursor_set(input, cursor);
}