aboutsummaryrefslogtreecommitdiff
path: root/swaybar
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-10-08 14:42:48 +0200
committerGitHub <noreply@github.com>2018-10-08 14:42:48 +0200
commit6cb0e58c6d26efa2bca9b3710df08ed1aea09aea (patch)
tree1036293744616474f190d30f7ae5428579e82900 /swaybar
parentb3b17280de54021657eabf2df4c3dbfd0039bac8 (diff)
parent5e1983660dddc40d60026cbd0daf96d880f24fb9 (diff)
Merge pull request #2791 from RyanDwyer/status-command-optional
swaybar: allow null status_command
Diffstat (limited to 'swaybar')
-rw-r--r--swaybar/bar.c2
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) {
add_event(bar->status->read_fd, POLLIN, status_in, bar);
}
while (1) {
- event_loop_poll();
wl_display_flush(bar->display);
+ event_loop_poll();
}
}