diff options
author | 2018-07-07 09:52:33 +0100 | |
---|---|---|
committer | 2018-07-07 09:52:33 +0100 | |
commit | c523a14ae1f82958d42b20e90363f41c7a5f227a (patch) | |
tree | 7d8a062aeb57dc64ee768a1f5e2693a37a22ceec /swaybar/render.c | |
parent | Merge pull request #2222 from RyanDwyer/fix-utf8-titles (diff) | |
parent | Fix swaybar teardown when workspace buttons hidden (diff) | |
download | sway-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
Diffstat (limited to 'swaybar/render.c')
-rw-r--r-- | swaybar/render.c | 2 |
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, |