aboutsummaryrefslogtreecommitdiffstats
path: root/include/sway/output.h
diff options
context:
space:
mode:
authorLibravatar Brian Ashworth <bosrsf04@gmail.com>2019-04-03 21:53:43 -0400
committerLibravatar Simon Ser <contact@emersion.fr>2019-04-04 20:08:21 +0300
commit75e7bd24ccb9731065bb7f8313aa53ba11ddc420 (patch)
tree2522f31626a21b42c2496a32266eafd3b7d66f50 /include/sway/output.h
parentidle_inhibit: fix crash during view destruction (diff)
downloadsway-75e7bd24ccb9731065bb7f8313aa53ba11ddc420.tar.gz
sway-75e7bd24ccb9731065bb7f8313aa53ba11ddc420.tar.zst
sway-75e7bd24ccb9731065bb7f8313aa53ba11ddc420.zip
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.
Diffstat (limited to 'include/sway/output.h')
-rw-r--r--include/sway/output.h3
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sway/output.h b/include/sway/output.h
index c336c559..cae77e2e 100644
--- a/include/sway/output.h
+++ b/include/sway/output.h
@@ -38,8 +38,6 @@ struct sway_output {
38 38
39 struct sway_output_state current; 39 struct sway_output_state current;
40 40
41 struct wl_client *swaybg_client;
42
43 struct wl_listener destroy; 41 struct wl_listener destroy;
44 struct wl_listener mode; 42 struct wl_listener mode;
45 struct wl_listener transform; 43 struct wl_listener transform;
@@ -47,7 +45,6 @@ struct sway_output {
47 struct wl_listener present; 45 struct wl_listener present;
48 struct wl_listener damage_destroy; 46 struct wl_listener damage_destroy;
49 struct wl_listener damage_frame; 47 struct wl_listener damage_frame;
50 struct wl_listener swaybg_client_destroy;
51 48
52 struct { 49 struct {
53 struct wl_signal destroy; 50 struct wl_signal destroy;