remove wl client pixmap aliasing on del

not sure why I added this but it was wrong
This commit is contained in:
Mike Blumenkrantz 2016-11-08 12:46:02 -05:00
parent 886d29d5d5
commit 6f5feb99b2
1 changed files with 1 additions and 4 deletions

View File

@ -2476,10 +2476,7 @@ _e_comp_wl_client_cb_del(void *data EINA_UNUSED, E_Client *ec)
wl_resource_destroy(cb);
if (ec->comp_data->surface)
{
e_pixmap_alias(ec->pixmap, E_PIXMAP_TYPE_WL, wl_resource_get_id(ec->comp_data->surface));
wl_resource_set_user_data(ec->comp_data->surface, NULL);
}
wl_resource_set_user_data(ec->comp_data->surface, NULL);
/* WL clients take an extra ref at startup so they don't get deleted while
* visible. Since we drop that in the render loop we need to make sure