projects
/
platform
/
upstream
/
efl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cd97249
)
elementary: Restart default cursor for wayland windows
author
Chris Michael
<cp.michael@samsung.com>
Thu, 26 Feb 2015 15:22:04 +0000
(10:22 -0500)
committer
Chris Michael
<cp.michael@samsung.com>
Thu, 26 Feb 2015 15:22:04 +0000
(10:22 -0500)
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>
legacy/elementary/src/lib/els_cursor.c
patch
|
blob
|
history
diff --git
a/legacy/elementary/src/lib/els_cursor.c
b/legacy/elementary/src/lib/els_cursor.c
index
d424324
..
dd17984
100644
(file)
--- a/
legacy/elementary/src/lib/els_cursor.c
+++ b/
legacy/elementary/src/lib/els_cursor.c
@@
-503,6
+503,10
@@
elm_object_cursor_unset(Evas_Object *obj)
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
}
evas_object_event_callback_del_full(obj, EVAS_CALLBACK_MOUSE_IN,