aboutsummaryrefslogtreecommitdiff
path: root/client
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-05 16:09:41 -0400
committerGitHub <noreply@github.com>2018-04-05 16:09:41 -0400
commit268c68b41707a664e5059699c720f000f20e2276 (patch)
tree523748eb922a50f9e74a485b86f445f8bc759464 /client
parent842a3ea45c07ab5ed8e3c20af5ef0dc92fff22de (diff)
parentf242362e7e521a8f35f47572038a20d404d25327 (diff)
downloadsway-268c68b41707a664e5059699c720f000f20e2276.tar.xz
Merge pull request #1745 from swaywm/swaybar-hotplugging
Handle output removal on swaybar
Diffstat (limited to 'client')
-rw-r--r--client/pool-buffer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/client/pool-buffer.c b/client/pool-buffer.c
index b5ed9c98..1f54a77c 100644
--- a/client/pool-buffer.c
+++ b/client/pool-buffer.c
@@ -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);
}