summaryrefslogtreecommitdiff
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorDrew DeVault <[email protected]>2018-05-04 08:24:25 -0400
committerRyan Dwyer <[email protected]>2018-06-01 23:14:58 +1000
commitf3ab895916ca1a0f004b5ceaefa90eee90676532 (patch)
treeaa572c41265fae21617b13b62b1c8d5df1f2d47d /sway/tree/workspace.c
parentc47d6cb1c47e98a42a6a94bd37c179cabe3af914 (diff)
Implement `floating enable`
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r--sway/tree/workspace.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index f34baa9e..c4f8ac5e 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -12,6 +12,7 @@
#include "sway/tree/arrange.h"
#include "sway/tree/container.h"
#include "sway/tree/workspace.h"
+#include "list.h"
#include "log.h"
#include "util.h"
@@ -64,6 +65,7 @@ struct sway_container *workspace_create(struct sway_container *output,
return NULL;
}
swayws->swayc = workspace;
+ swayws->floating = create_list();
workspace->sway_workspace = swayws;
container_add_child(output, workspace);