forked from enlightenment/efl
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:
parent
cd97249a33
commit
a87b0341f3
|
@ -502,6 +502,10 @@ elm_object_cursor_unset(Evas_Object *obj)
|
||||||
#ifdef HAVE_ELEMENTARY_X
|
#ifdef HAVE_ELEMENTARY_X
|
||||||
else if (cur->x.win)
|
else if (cur->x.win)
|
||||||
ecore_x_window_cursor_set(cur->x.win, ECORE_X_CURSOR_X);
|
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
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue