aboutsummaryrefslogtreecommitdiff
path: root/sway/tree/workspace.c
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-04-26 11:38:52 +0200
committerGitHub <noreply@github.com>2018-04-26 11:38:52 +0200
commitd94bb78ff3ade39cc848d0acfd571b9ac6917868 (patch)
treea61a0fb433462d42b48a23fb58dd3b2a3bc778d8 /sway/tree/workspace.c
parent7ac770f3c0d4aa4b38650ad5ec7d1f5b7e70028a (diff)
parentae39d7b28caa30652c0e48fda453f509e8e8d784 (diff)
Merge pull request #1863 from RyanDwyer/remove-workspace-layout
Remove sway_container.workspace_layout
Diffstat (limited to 'sway/tree/workspace.c')
-rw-r--r--sway/tree/workspace.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/sway/tree/workspace.c b/sway/tree/workspace.c
index 7f3c1903..66e1f7b9 100644
--- a/sway/tree/workspace.c
+++ b/sway/tree/workspace.c
@@ -57,7 +57,6 @@ struct sway_container *workspace_create(struct sway_container *output,
workspace->name = !name ? NULL : strdup(name);
workspace->prev_layout = L_NONE;
workspace->layout = container_get_default_layout(output);
- workspace->workspace_layout = workspace->layout;
struct sway_workspace *swayws = calloc(1, sizeof(struct sway_workspace));
if (!swayws) {