diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-27 09:21:55 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-07-27 09:21:55 +1000 |
commit | 6ceb1d33fd9038640f6adf1aabf48b6931dc0fdb (patch) | |
tree | 43517f213ea630934723f99bf3ac0f01d21df89a /sway | |
parent | a90f2dbde9866a34e91b242bb06071e471d32eb3 (diff) |
Fix assign to workspace
Diffstat (limited to 'sway')
-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) { for (int i = 0; i < criterias->length; ++i) { struct criteria *criteria = criterias->items[i]; if (criteria->type == CT_ASSIGN_WORKSPACE) { - struct sway_container *ws = workspace_by_name(criteria->target); + ws = workspace_by_name(criteria->target); if (!ws) { ws = workspace_create(NULL, criteria->target); } |