summaryrefslogtreecommitdiff
path: root/include/sway/tree/workspace.h
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-06-01 15:41:49 -0700
committerGitHub <[email protected]>2018-06-01 15:41:49 -0700
commit96446fdbf748acfdbd4c60fbc0d12e45a27199fe (patch)
tree6d46cc61a1e7c74efe36565796ccbf8b47e7e4a7 /include/sway/tree/workspace.h
parentfd885d5779ef9aa408fa856a66fa7343ce01fa19 (diff)
parent70c2c504452eccbe5a74bc014e99b5b03db14124 (diff)
Merge pull request #2027 from RyanDwyer/implement-floating
Implement floating
Diffstat (limited to 'include/sway/tree/workspace.h')
-rw-r--r--include/sway/tree/workspace.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/include/sway/tree/workspace.h b/include/sway/tree/workspace.h
index 35e1df3b..81321fc8 100644
--- a/include/sway/tree/workspace.h
+++ b/include/sway/tree/workspace.h
@@ -8,6 +8,7 @@ struct sway_view;
struct sway_workspace {
struct sway_container *swayc;
struct sway_view *fullscreen;
+ struct sway_container *floating;
};
extern char *prev_workspace_name;
@@ -30,4 +31,6 @@ struct sway_container *workspace_prev(struct sway_container *current);
bool workspace_is_visible(struct sway_container *ws);
+bool workspace_is_empty(struct sway_container *ws);
+
#endif