swaybar: handle hotplugging

Don't kill and respawn swaybars on hotplug.
This commit is contained in:
emersion 2018-09-19 11:37:24 +02:00
parent fa4308c5ab
commit 82f1393cbb
6 changed files with 81 additions and 66 deletions

View file

@ -109,8 +109,6 @@ void output_enable(struct sway_output *output, struct output_config *oc) {
wl_signal_emit(&root->events.new_node, &output->node);
load_swaybars();
arrange_layers(output);
arrange_root();
}