mirror of
https://github.com/NickHu/sway
synced 2024-11-16 19:49:56 +01:00
Set pool_buffers busy when handing them out
This commit is contained in:
parent
d9fc381e02
commit
54a5ee2747
1 changed files with 1 additions and 0 deletions
|
@ -144,5 +144,6 @@ struct pool_buffer *get_next_buffer(struct wl_shm *shm,
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
buffer->busy = true;
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue