aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
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 @@
12#include "sway/tree/arrange.h" 12#include "sway/tree/arrange.h"
13#include "sway/tree/container.h" 13#include "sway/tree/container.h"
14#include "sway/tree/workspace.h" 14#include "sway/tree/workspace.h"
15#include "list.h"
15#include "log.h" 16#include "log.h"
16#include "util.h" 17#include "util.h"
17 18
@@ -64,6 +65,7 @@ struct sway_container *workspace_create(struct sway_container *output,
64 return NULL; 65 return NULL;
65 } 66 }
66 swayws->swayc = workspace; 67 swayws->swayc = workspace;
68 swayws->floating = create_list();
67 workspace->sway_workspace = swayws; 69 workspace->sway_workspace = swayws;
68 70
69 container_add_child(output, workspace); 71 container_add_child(output, workspace);