aboutsummaryrefslogtreecommitdiffstats
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorLibravatar Drew DeVault <sir@cmpwn.com>2018-05-04 08:24:25 -0400
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-06-01 23:14:58 +1000
commitf3ab895916ca1a0f004b5ceaefa90eee90676532 (patch)
treeaa572c41265fae21617b13b62b1c8d5df1f2d47d /sway/tree/workspace.c
parentMerge pull request #2081 from RedSoxFan/fix-2077 (diff)
downloadsway-f3ab895916ca1a0f004b5ceaefa90eee90676532.tar.gz
sway-f3ab895916ca1a0f004b5ceaefa90eee90676532.tar.zst
sway-f3ab895916ca1a0f004b5ceaefa90eee90676532.zip
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 @@
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);