From 75e7bd24ccb9731065bb7f8313aa53ba11ddc420 Mon Sep 17 00:00:00 2001 From: Brian Ashworth Date: Wed, 3 Apr 2019 21:53:43 -0400 Subject: swaybg: one instance for all outputs This makes it so there will only be one swaybg instance running instead of one per output. swaybg's cli has been changed to a xrandr like interface, where you select an output and then change properties for that output and then select another output and repeat. This also makes it so swaybg is only killed and respawned when a background changes or when reloading. --- sway/tree/output.c | 4 ---- 1 file changed, 4 deletions(-) (limited to 'sway/tree') diff --git a/sway/tree/output.c b/sway/tree/output.c index b3589be5..24adc08d 100644 --- a/sway/tree/output.c +++ b/sway/tree/output.c @@ -262,10 +262,6 @@ void output_disable(struct sway_output *output) { root_for_each_container(untrack_output, output); - if (output->swaybg_client != NULL) { - wl_client_destroy(output->swaybg_client); - } - int index = list_find(root->outputs, output); list_del(root->outputs, index); -- cgit v1.2.3