diff options
author | 2018-10-08 14:42:48 +0200 | |
---|---|---|
committer | 2018-10-08 14:42:48 +0200 | |
commit | 6cb0e58c6d26efa2bca9b3710df08ed1aea09aea (patch) | |
tree | 1036293744616474f190d30f7ae5428579e82900 /swaybar/bar.c | |
parent | Merge pull request #2789 from RyanDwyer/reload-idle (diff) | |
parent | Allow status_command to be disabled via IPC (diff) | |
download | sway-6cb0e58c6d26efa2bca9b3710df08ed1aea09aea.tar.gz sway-6cb0e58c6d26efa2bca9b3710df08ed1aea09aea.tar.zst sway-6cb0e58c6d26efa2bca9b3710df08ed1aea09aea.zip |
Merge pull request #2791 from RyanDwyer/status-command-optional
swaybar: allow null status_command
Diffstat (limited to 'swaybar/bar.c')
-rw-r--r-- | swaybar/bar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/swaybar/bar.c b/swaybar/bar.c index c86e71b8..3990f1ca 100644 --- a/swaybar/bar.c +++ b/swaybar/bar.c | |||
@@ -572,8 +572,8 @@ void bar_run(struct swaybar *bar) { | |||
572 | add_event(bar->status->read_fd, POLLIN, status_in, bar); | 572 | add_event(bar->status->read_fd, POLLIN, status_in, bar); |
573 | } | 573 | } |
574 | while (1) { | 574 | while (1) { |
575 | event_loop_poll(); | ||
576 | wl_display_flush(bar->display); | 575 | wl_display_flush(bar->display); |
576 | event_loop_poll(); | ||
577 | } | 577 | } |
578 | } | 578 | } |
579 | 579 | ||