aboutsummaryrefslogtreecommitdiff
path: root/sway/commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 966b1fe3..ede6c60c 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -186,7 +186,7 @@ static void set_config_node(struct sway_node *node) {
switch (node->type) {
case N_CONTAINER:
config->handler_context.container = node->sway_container;
- config->handler_context.workspace = node->sway_container->workspace;
+ config->handler_context.workspace = node->sway_container->pending.workspace;
break;
case N_WORKSPACE:
config->handler_context.workspace = node->sway_workspace;