hide wl client cursors when set_pointer is passed a null surface

This commit is contained in:
Mike Blumenkrantz 2017-02-03 15:13:48 -05:00
parent ee4a861f90
commit 036bcc1f67
1 changed files with 2 additions and 1 deletions

View File

@ -66,7 +66,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);