summaryrefslogtreecommitdiff
path: root/src/lib/efl_wl
diff options
context:
space:
mode:
authorDerek Foreman <derekf@osg.samsung.com>2017-09-26 11:39:19 -0500
committerDerek Foreman <derekf@osg.samsung.com>2017-09-26 11:39:19 -0500
commit0ad6c47ec2838d50d17fcb7b026a061043afc3ab (patch)
treefdf58b841f7c453f2a38a0662ca40482b85c269f /src/lib/efl_wl
parenta742edb486a4492396bb1db993bed83051b17c08 (diff)
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.
Diffstat (limited to 'src/lib/efl_wl')
-rw-r--r--src/lib/efl_wl/efl_wl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/efl_wl/efl_wl.c b/src/lib/efl_wl/efl_wl.c
index 8a1a7c2b7c..6be0f3a340 100644
--- a/src/lib/efl_wl/efl_wl.c
+++ b/src/lib/efl_wl/efl_wl.c
@@ -1298,7 +1298,7 @@ comp_surface_buffer_detach(Comp_Buffer **pbuffer)
1298 wl_list_remove(&buffer->destroy_listener.link); 1298 wl_list_remove(&buffer->destroy_listener.link);
1299 //if (buffer->dbg) fprintf(stderr, "BUFFER(%d) RELEASE\n", wl_resource_get_id(buffer->res)); 1299 //if (buffer->dbg) fprintf(stderr, "BUFFER(%d) RELEASE\n", wl_resource_get_id(buffer->res));
1300 if (buffer->pool) wl_shm_pool_unref(buffer->pool); 1300 if (buffer->pool) wl_shm_pool_unref(buffer->pool);
1301 wl_resource_queue_event(buffer->res, WL_BUFFER_RELEASE); 1301 wl_buffer_send_release(buffer->res);
1302 free(buffer); 1302 free(buffer);
1303 *pbuffer = NULL; 1303 *pbuffer = NULL;
1304} 1304}