efl_wl: Stop queuing buffer release events

This was an optimization that caused more pain than benefit in the
long term.  Weston no longer does it, so we're just following suit.
This commit is contained in:
Derek Foreman 2017-09-26 11:39:19 -05:00
parent a742edb486
commit 0ad6c47ec2
1 changed files with 1 additions and 1 deletions

View File

@ -1298,7 +1298,7 @@ comp_surface_buffer_detach(Comp_Buffer **pbuffer)
wl_list_remove(&buffer->destroy_listener.link);
//if (buffer->dbg) fprintf(stderr, "BUFFER(%d) RELEASE\n", wl_resource_get_id(buffer->res));
if (buffer->pool) wl_shm_pool_unref(buffer->pool);
wl_resource_queue_event(buffer->res, WL_BUFFER_RELEASE);
wl_buffer_send_release(buffer->res);
free(buffer);
*pbuffer = NULL;
}