mirror of
https://github.com/swaywm/sway.git
synced 2024-11-13 05:54:11 +01: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;
|
return NULL;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
buffer->busy = true;
|
||||||
return buffer;
|
return buffer;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user