forked from enlightenment/efl
ecore-wl2: Only call pointer_update_stop once
As we already call _ecore_wl2_input_cursor_update_stop above, we actually don't need to call it a second time. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
860e0d34b0
commit
72f2ac2c3a
|
@ -953,9 +953,7 @@ ecore_wl2_window_pointer_set(Ecore_Wl2_Window *window, struct wl_surface *surfac
|
||||||
input->cursor.hot_x = hot_x;
|
input->cursor.hot_x = hot_x;
|
||||||
input->cursor.hot_y = hot_y;
|
input->cursor.hot_y = hot_y;
|
||||||
|
|
||||||
if (!input->cursor.surface)
|
if (input->cursor.surface)
|
||||||
_ecore_wl2_input_cursor_update_stop(input);
|
|
||||||
else
|
|
||||||
_ecore_wl2_input_cursor_update(input);
|
_ecore_wl2_input_cursor_update(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue