aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
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
parentexamples: Fix C++ bg example (diff)
downloadefl-0ad6c47ec2838d50d17fcb7b026a061043afc3ab.tar.gz
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')
-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)
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;
}