discomfitor pushed a commit to branch enlightenment-0.21.

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

commit bef7872a01973022fff430b97b71aa81fc084e8a
Author: Mike Blumenkrantz <[email protected]>
Date:   Fri Feb 3 15:13:48 2017 -0500

    hide wl client cursors when set_pointer is passed a null surface
---
 src/bin/e_comp_wl_input.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/src/bin/e_comp_wl_input.c b/src/bin/e_comp_wl_input.c
index 5839bd7..b11ca4e 100644
--- a/src/bin/e_comp_wl_input.c
+++ b/src/bin/e_comp_wl_input.c
@@ -65,7 +65,8 @@ _e_comp_wl_input_pointer_cb_cursor_set(struct wl_client 
*client, struct wl_resou
    if (!got_mouse) return;
    if (!surface_resource)
      {
-        e_pointer_object_set(e_comp->pointer, NULL, x, y);
+        ecore_evas_cursor_unset(e_comp->ee);
+        evas_object_hide(e_comp->pointer->o_ptr);
         return;
      }
    ec = wl_resource_get_user_data(surface_resource);

-- 


Reply via email to