mirror of
https://github.com/swaywm/sway.git
synced 2024-12-27 15:36:29 +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