aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--types/wlr_surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/types/wlr_surface.c b/types/wlr_surface.c
index cb0aa27f..240360a1 100644
--- a/types/wlr_surface.c
+++ b/types/wlr_surface.c
@@ -292,7 +292,7 @@ release:
pixman_region32_fini(&surface->current.buffer_damage);
pixman_region32_init(&surface->current.buffer_damage);
- wl_resource_queue_event(surface->current.buffer, WL_BUFFER_RELEASE);
+ wl_resource_post_event(surface->current.buffer, WL_BUFFER_RELEASE);
surface->current.buffer = NULL;
}