diff options
author | vilhalmer <vil@vil.lv> | 2018-06-17 17:34:12 -0400 |
---|---|---|
committer | vilhalmer <vil@vil.lv> | 2018-06-17 17:34:12 -0400 |
commit | 54a5ee2747c3eae35e4fec400d1efc6ee7509a38 (patch) | |
tree | 20d4a19f5baf5389331758ffb6bcffaf0ce38696 /client | |
parent | d9fc381e0292519cccf2df6ea77a3356a2e621c7 (diff) |
Set pool_buffers busy when handing them out
Diffstat (limited to 'client')
-rw-r--r-- | client/pool-buffer.c | 1 |
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; } |