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:
Chris Michael 2016-11-02 12:12:04 -04:00
parent 90afe6ab61
commit e3f02acc93
1 changed files with 1 additions and 2 deletions

View File

@ -945,8 +945,7 @@ ecore_wl2_window_pointer_set(Ecore_Wl2_Window *window, struct wl_surface *surfac
input->cursor.hot_x = hot_x;
input->cursor.hot_y = hot_y;
if (input->cursor.surface)
_ecore_wl2_input_cursor_update(input);
_ecore_wl2_input_cursor_update(input);
}
EAPI void