diff options
Diffstat (limited to 'sway/tree/view.c')
-rw-r--r-- | sway/tree/view.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c index 93d4fefc..fc88cff9 100644 --- a/sway/tree/view.c +++ b/sway/tree/view.c | |||
@@ -503,6 +503,7 @@ static struct sway_workspace *select_workspace(struct sway_view *view) { | |||
503 | } | 503 | } |
504 | list_free(criterias); | 504 | list_free(criterias); |
505 | if (ws) { | 505 | if (ws) { |
506 | root_remove_workspace_pid(view->pid); | ||
506 | return ws; | 507 | return ws; |
507 | } | 508 | } |
508 | 509 | ||