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 d257d872dc
commit bef7872a01
1 changed files with 2 additions and 1 deletions

View File

@ -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);