From d566b54049d591399ee7590d63d736f549203390 Mon Sep 17 00:00:00 2001 From: Mike Blumenkrantz Date: Fri, 3 Feb 2017 15:13:48 -0500 Subject: [PATCH] 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 b756742ee..14992ba5b 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;