aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib
diff options
context:
space:
mode:
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;
}