Store scratchpad list in sway_root instead of server

This commit is contained in:
Ryan Dwyer 2018-07-22 22:28:20 +10:00
parent 81e8f31cc6
commit 12e90fa600
7 changed files with 18 additions and 18 deletions

View file

@ -48,8 +48,6 @@ struct sway_server {
list_t *transactions;
list_t *dirty_containers;
list_t *scratchpad; // struct sway_container
};
struct sway_server server;

View file

@ -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;