summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-07-07 09:52:33 +0100
committerLibravatar GitHub <noreply@github.com>2018-07-07 09:52:33 +0100
commitc523a14ae1f82958d42b20e90363f41c7a5f227a (patch)
tree7d8a062aeb57dc64ee768a1f5e2693a37a22ceec
parentMerge pull request #2222 from RyanDwyer/fix-utf8-titles (diff)
parentFix swaybar teardown when workspace buttons hidden (diff)
downloadsway-c523a14ae1f82958d42b20e90363f41c7a5f227a.tar.gz
sway-c523a14ae1f82958d42b20e90363f41c7a5f227a.tar.zst
sway-c523a14ae1f82958d42b20e90363f41c7a5f227a.zip
Merge pull request #2216 from RedSoxFan/fix-2213
Fix swaybar teardown when workspace buttons hidden
-rw-r--r--swaybar/render.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/render.c b/swaybar/render.c
index efd3fdeb..2ebd338e 100644
--- a/swaybar/render.c
+++ b/swaybar/render.c
@@ -497,7 +497,7 @@ void render_frame(struct swaybar *bar, struct swaybar_output *output) {
497 // different height than what we asked for 497 // different height than what we asked for
498 wl_surface_commit(output->surface); 498 wl_surface_commit(output->surface);
499 wl_display_roundtrip(bar->display); 499 wl_display_roundtrip(bar->display);
500 } else { 500 } else if (height > 0) {
501 // Replay recording into shm and send it off 501 // Replay recording into shm and send it off
502 output->current_buffer = get_next_buffer(bar->shm, 502 output->current_buffer = get_next_buffer(bar->shm,
503 output->buffers, 503 output->buffers,