diff options
-rw-r--r-- | sway/tree/view.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index fec628e1..e641544e 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -486,7 +486,7 @@ static struct sway_container *select_workspace(struct sway_view *view) { | |||
486 | for (int i = 0; i < criterias->length; ++i) { | 486 | for (int i = 0; i < criterias->length; ++i) { |
487 | struct criteria *criteria = criterias->items[i]; | 487 | struct criteria *criteria = criterias->items[i]; |
488 | if (criteria->type == CT_ASSIGN_WORKSPACE) { | 488 | if (criteria->type == CT_ASSIGN_WORKSPACE) { |
489 | struct sway_container *ws = workspace_by_name(criteria->target); | 489 | ws = workspace_by_name(criteria->target); |
490 | if (!ws) { | 490 | if (!ws) { |
491 | ws = workspace_create(NULL, criteria->target); | 491 | ws = workspace_create(NULL, criteria->target); |
492 | } | 492 | } |