diff options
author | Drew DeVault <sir@cmpwn.com> | 2018-04-05 15:39:57 -0400 |
---|---|---|
committer | Drew DeVault <sir@cmpwn.com> | 2018-04-05 16:04:30 -0400 |
commit | f242362e7e521a8f35f47572038a20d404d25327 (patch) | |
tree | 523748eb922a50f9e74a485b86f445f8bc759464 /client/pool-buffer.c | |
parent | Add -Wno-unused-result (diff) | |
download | sway-f242362e7e521a8f35f47572038a20d404d25327.tar.gz sway-f242362e7e521a8f35f47572038a20d404d25327.tar.zst sway-f242362e7e521a8f35f47572038a20d404d25327.zip |
Handle output removal on swaybar
Diffstat (limited to 'client/pool-buffer.c')
-rw-r--r-- | client/pool-buffer.c | 2 |
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 | ||
82 | static void destroy_buffer(struct pool_buffer *buffer) { | 82 | void 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 | } |