aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorvilhalmer <vil@vil.lv>2018-06-17 17:34:12 -0400
committervilhalmer <vil@vil.lv>2018-06-17 17:34:12 -0400
commit54a5ee2747c3eae35e4fec400d1efc6ee7509a38 (patch)
tree20d4a19f5baf5389331758ffb6bcffaf0ce38696 /client
parentd9fc381e0292519cccf2df6ea77a3356a2e621c7 (diff)
Set pool_buffers busy when handing them out
Diffstat (limited to 'client')
-rw-r--r--client/pool-buffer.c1
1 files changed, 1 insertions, 0 deletions
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;
}