aboutsummaryrefslogtreecommitdiffstats
path: root/client
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-04-05 15:39:57 -0400
committerLibravatar Drew DeVault <sir@cmpwn.com>2018-04-05 16:04:30 -0400
commitf242362e7e521a8f35f47572038a20d404d25327 (patch)
tree523748eb922a50f9e74a485b86f445f8bc759464 /client
parentAdd -Wno-unused-result (diff)
downloadsway-f242362e7e521a8f35f47572038a20d404d25327.tar.gz
sway-f242362e7e521a8f35f47572038a20d404d25327.tar.zst
sway-f242362e7e521a8f35f47572038a20d404d25327.zip
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,
79 return buf; 79 return buf;
80} 80}
81 81
82static void destroy_buffer(struct pool_buffer *buffer) { 82void destroy_buffer(struct pool_buffer *buffer) {
83 if (buffer->buffer) { 83 if (buffer->buffer) {
84 wl_buffer_destroy(buffer->buffer); 84 wl_buffer_destroy(buffer->buffer);
85 } 85 }