From eccef6aadd142103ed151883e61c0e7a2fd98639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Kristian=20H=C3=B8gsberg?= Date: Thu, 17 Nov 2011 16:46:19 -0500 Subject: [PATCH] compositor: Queue buffer.release instead of sending immediately --- compositor/compositor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compositor/compositor.c b/compositor/compositor.c index ae348eb2..9b32eff8 100644 --- a/compositor/compositor.c +++ b/compositor/compositor.c @@ -767,7 +767,7 @@ wlsc_buffer_post_release(struct wl_buffer *buffer) return; assert(buffer->resource.client != NULL); - wl_resource_post_event(&buffer->resource, WL_BUFFER_RELEASE); + wl_resource_queue_event(&buffer->resource, WL_BUFFER_RELEASE); } WL_EXPORT void