aboutsummaryrefslogtreecommitdiff
path: root/include/container.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/container.h')
-rw-r--r--include/container.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/include/container.h b/include/container.h
index dd934be6..7560ddb8 100644
--- a/include/container.h
+++ b/include/container.h
@@ -40,12 +40,17 @@ struct sway_container {
bool visible;
+ bool is_floating;
+
int weight;
char *name;
list_t *children;
+ // Special list for floating windows in workspaces
+ list_t *floating;
+
struct sway_container *parent;
struct sway_container *focused;
};