mirror of
https://github.com/swaywm/sway.git
synced 2025-11-13 13:29:49 -05:00
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.
This commit is contained in:
parent
0ad905f23c
commit
75e7bd24cc
8 changed files with 497 additions and 251 deletions
|
|
@ -38,8 +38,6 @@ struct sway_output {
|
|||
|
||||
struct sway_output_state current;
|
||||
|
||||
struct wl_client *swaybg_client;
|
||||
|
||||
struct wl_listener destroy;
|
||||
struct wl_listener mode;
|
||||
struct wl_listener transform;
|
||||
|
|
@ -47,7 +45,6 @@ struct sway_output {
|
|||
struct wl_listener present;
|
||||
struct wl_listener damage_destroy;
|
||||
struct wl_listener damage_frame;
|
||||
struct wl_listener swaybg_client_destroy;
|
||||
|
||||
struct {
|
||||
struct wl_signal destroy;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue