aboutsummaryrefslogtreecommitdiff
path: root/include/sway/tree/root.h
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-08-24 08:27:05 -0400
committerGitHub <noreply@github.com>2018-08-24 08:27:05 -0400
commite86d99acd655815781cd2e23877ce58ab5b24826 (patch)
tree5e056a7859751c68c0cfb425fc6f37599c3f7400 /include/sway/tree/root.h
parentf53c28d52a6954108592c246c013c0c4b076f09c (diff)
parentb6058703fa240780d66fac8ef96982c66b2b0263 (diff)
Merge pull request #2499 from RyanDwyer/refactor-destroy-functions
Refactor destroy functions and save workspaces when there's no outputs
Diffstat (limited to 'include/sway/tree/root.h')
-rw-r--r--include/sway/tree/root.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/include/sway/tree/root.h b/include/sway/tree/root.h
index d1f04a96..ee4bd836 100644
--- a/include/sway/tree/root.h
+++ b/include/sway/tree/root.h
@@ -24,6 +24,7 @@ struct sway_root {
struct wl_list outputs; // sway_output::link
list_t *scratchpad; // struct sway_container
+ list_t *saved_workspaces; // For when there's no connected outputs
struct {
struct wl_signal new_container;