From 54a5ee2747c3eae35e4fec400d1efc6ee7509a38 Mon Sep 17 00:00:00 2001 From: vilhalmer Date: Sun, 17 Jun 2018 17:34:12 -0400 Subject: Set pool_buffers busy when handing them out --- client/pool-buffer.c | 1 + 1 file changed, 1 insertion(+) diff --git a/client/pool-buffer.c b/client/pool-buffer.c index 52438303..fa468c0d 100644 --- a/client/pool-buffer.c +++ b/client/pool-buffer.c @@ -144,5 +144,6 @@ struct pool_buffer *get_next_buffer(struct wl_shm *shm, return NULL; } } + buffer->busy = true; return buffer; } -- cgit v1.2.3