mirror of
https://github.com/swaywm/sway.git
synced 2024-11-21 23:41:27 +00:00
Set pool_buffers busy when handing them out
This commit is contained in:
parent
d9fc381e02
commit
54a5ee2747
|
@ -144,5 +144,6 @@ struct pool_buffer *get_next_buffer(struct wl_shm *shm,
|
|||
return NULL;
|
||||
}
|
||||
}
|
||||
buffer->busy = true;
|
||||
return buffer;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue