From 98477eabc169d4b53de0705692d9de5e71686698 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Sat, 19 Jun 2021 10:37:49 +0300 Subject: [PATCH] Remove manual flush when sending buffer release event This way we can batch more events before flushing the client connection. --- src/wayland/server/buffer_interface.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/wayland/server/buffer_interface.cpp b/src/wayland/server/buffer_interface.cpp index b3c837415f..529978dd7c 100644 --- a/src/wayland/server/buffer_interface.cpp +++ b/src/wayland/server/buffer_interface.cpp @@ -238,7 +238,6 @@ void BufferInterface::unref() if (d->refCount == 0) { if (d->buffer) { wl_buffer_send_release(d->buffer); - wl_client_flush(wl_resource_get_client(d->buffer)); } } }