mirror of
https://github.com/swaywm/sway.git
synced 2025-04-03 02:47:46 +03:00
Handle output removal on swaybar
This commit is contained in:
parent
842a3ea45c
commit
f242362e7e
7 changed files with 45 additions and 9 deletions
|
@ -79,7 +79,7 @@ static struct pool_buffer *create_buffer(struct wl_shm *shm,
|
|||
return buf;
|
||||
}
|
||||
|
||||
static void destroy_buffer(struct pool_buffer *buffer) {
|
||||
void destroy_buffer(struct pool_buffer *buffer) {
|
||||
if (buffer->buffer) {
|
||||
wl_buffer_destroy(buffer->buffer);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue