discomfitor pushed a commit to branch master.

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

commit d566b54049d591399ee7590d63d736f549203390
Author: Mike Blumenkrantz <zm...@osg.samsung.com>
Date:   Fri Feb 3 15:13:48 2017 -0500

    simplify mouse-out cursor reset for wl clients
    
    this is handled by e_pointer_object_set()
---
 src/bin/e_comp_wl.c | 7 ++-----
 1 file changed, 2 insertions(+), 5 deletions(-)

diff --git a/src/bin/e_comp_wl.c b/src/bin/e_comp_wl.c
index b756742..14992ba 100644
--- a/src/bin/e_comp_wl.c
+++ b/src/bin/e_comp_wl.c
@@ -265,11 +265,8 @@ _e_comp_wl_mouse_out(E_Client *ec)
    if (ec->cur_mouse_action && e_grabinput_mouse_win_get()) return;
    /* FIXME? this is a hack to just reset the cursor whenever we mouse out. 
not sure if accurate */
    {
-      Evas_Object *o;
-
-      ecore_evas_cursor_get(e_comp->ee, &o, NULL, NULL, NULL);
-      if (e_comp->pointer->o_ptr != o)
-        e_pointer_object_set(e_comp->pointer, NULL, 0, 0);
+      e_pointer_object_set(e_comp->pointer, NULL, 0, 0);
+      evas_object_show(e_comp->pointer->o_ptr);
    }
    if (e_comp_wl->ptr.ec == ec)
      e_comp_wl->ptr.ec = NULL;

-- 


Reply via email to