mirror of
https://github.com/swaywm/sway.git
synced 2025-11-07 13:29:56 -05:00
Store scratchpad list in sway_root instead of server
This commit is contained in:
parent
81e8f31cc6
commit
12e90fa600
7 changed files with 18 additions and 18 deletions
|
|
@ -48,8 +48,6 @@ struct sway_server {
|
|||
|
||||
list_t *transactions;
|
||||
list_t *dirty_containers;
|
||||
|
||||
list_t *scratchpad; // struct sway_container
|
||||
};
|
||||
|
||||
struct sway_server server;
|
||||
|
|
|
|||
|
|
@ -35,6 +35,8 @@ struct sway_root {
|
|||
|
||||
struct wl_list outputs; // sway_output::link
|
||||
|
||||
list_t *scratchpad; // struct sway_container
|
||||
|
||||
struct {
|
||||
struct wl_signal new_container;
|
||||
} events;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue