devilhorns pushed a commit to branch master.

http://git.enlightenment.org/core/elementary.git/commit/?id=e1502e4e05069457d4d2d2d2dabd6dc39173d108

commit e1502e4e05069457d4d2d2d2dabd6dc39173d108
Author: Chris Michael <cp.mich...@samsung.com>
Date:   Thu Feb 26 10:22:04 2015 -0500

    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.mich...@samsung.com>
---
 src/lib/els_cursor.c | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/src/lib/els_cursor.c b/src/lib/els_cursor.c
index d424324..dd17984 100644
--- a/src/lib/els_cursor.c
+++ b/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,

-- 


Reply via email to