aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-06-17 14:55:29 -0700
committerGitHub <noreply@github.com>2018-06-17 14:55:29 -0700
commit202ee511503bc7c6a18dec440ac3cdb8d5e8f859 (patch)
tree7f2fc2f6cd4ba948df2e9e119e2e109973f638db /client
parent7c44ca95f9aef526c6cfa8c2d3704af39755f38b (diff)
parent8884a063c1c11cb1e2370c3f172fcb9ebd59c991 (diff)
Merge pull request #2143 from vilhalmer/mark-pool-buffers-busy
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;
}