elementary: Restart default cursor for wayland windows

Summary: If we are unsetting the cursor for an object, then if it's an
object on a wayland window, we should be callbacking
ecore_wl_window_cursor_default_restore

@fix

Signed-off-by: Chris Michael <cp.michael@samsung.com>
This commit is contained in:
Chris Michael 2015-02-26 10:22:04 -05:00
parent cd97249a33
commit a87b0341f3
1 changed files with 4 additions and 0 deletions

View File

@ -502,6 +502,10 @@ elm_object_cursor_unset(Evas_Object *obj)
#ifdef HAVE_ELEMENTARY_X
else if (cur->x.win)
ecore_x_window_cursor_set(cur->x.win, ECORE_X_CURSOR_X);
#endif
#ifdef HAVE_ELEMENTARY_WAYLAND
else if (cur->wl.win)
ecore_wl_window_cursor_default_restore(cur->wl.win);
#endif
}