From ae39d7b28caa30652c0e48fda453f509e8e8d784 Mon Sep 17 00:00:00 2001 From: Ryan Dwyer Date: Thu, 26 Apr 2018 10:14:18 +1000 Subject: Remove sway_container.workspace_layout Fixes #1716. --- sway/tree/workspace.c | 1 - 1 file changed, 1 deletion(-) (limited to 'sway/tree/workspace.c') 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) { -- cgit v1.2.3