diff options
author | 2018-04-05 16:09:41 -0400 | |
---|---|---|
committer | 2018-04-05 16:09:41 -0400 | |
commit | 268c68b41707a664e5059699c720f000f20e2276 (patch) | |
tree | 523748eb922a50f9e74a485b86f445f8bc759464 /client/pool-buffer.c | |
parent | Add -Wno-unused-result (diff) | |
parent | Handle output removal on swaybar (diff) | |
download | sway-268c68b41707a664e5059699c720f000f20e2276.tar.gz sway-268c68b41707a664e5059699c720f000f20e2276.tar.zst sway-268c68b41707a664e5059699c720f000f20e2276.zip |
Merge pull request #1745 from swaywm/swaybar-hotplugging
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 | } |