ecore-wl2: Update cursor regardless of cursor surface
If a NULL surface gets passed into ecore_wl2_window_pointer_set that would mean we are unsetting the cursor surface, so we should still be calling wl_pointer_set_cursor even with a NULL surface. Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
parent
90afe6ab61
commit
e3f02acc93
|
@ -945,7 +945,6 @@ 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)
|
|
||||||
_ecore_wl2_input_cursor_update(input);
|
_ecore_wl2_input_cursor_update(input);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue