aboutsummaryrefslogtreecommitdiffstats
path: root/sway/main.c
diff options
context:
space:
mode:
authorLibravatar emersion <contact@emersion.fr>2018-09-19 11:37:24 +0200
committerLibravatar emersion <contact@emersion.fr>2018-09-20 18:37:51 +0200
commit82f1393cbb7383179eab2d10ff679a975d1f5c43 (patch)
tree97fd40cb652ac233fdbf03929da1977bc89d1bcb /sway/main.c
parentMerge pull request #2671 from emersion/output-execute-no-focus (diff)
downloadsway-82f1393cbb7383179eab2d10ff679a975d1f5c43.tar.gz
sway-82f1393cbb7383179eab2d10ff679a975d1f5c43.tar.zst
sway-82f1393cbb7383179eab2d10ff679a975d1f5c43.zip
swaybar: handle hotplugging
Don't kill and respawn swaybars on hotplug.
Diffstat (limited to 'sway/main.c')
-rw-r--r--sway/main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/main.c b/sway/main.c
index fb4f0d8c..3d7cd158 100644
--- a/sway/main.c
+++ b/sway/main.c
@@ -424,6 +424,7 @@ int main(int argc, char **argv) {
424 } 424 }
425 425
426 config->active = true; 426 config->active = true;
427 load_swaybars();
427 // Execute commands until there are none left 428 // Execute commands until there are none left
428 wlr_log(WLR_DEBUG, "Running deferred commands"); 429 wlr_log(WLR_DEBUG, "Running deferred commands");
429 while (config->cmd_queue->length) { 430 while (config->cmd_queue->length) {