aboutsummaryrefslogtreecommitdiff
path: root/sway/tree
diff options
context:
space:
mode:
authorRonan Pigott <ronan@rjp.ie>2022-11-16 15:50:34 -0700
committerSimon Ser <contact@emersion.fr>2022-11-26 09:48:58 +0100
commitd75c9f9722389d441fd24bd490c5cf12c4bef39a (patch)
tree29176c9dd4e467527dea86298995e33a0585bd14 /sway/tree
parentbd66f4943da1c96edc3ba49573e27b42b688c543 (diff)
launcher: rename pid_workspace to launcher_ctx
Soon we will match views with more than just a pid.
Diffstat (limited to 'sway/tree')
-rw-r--r--sway/tree/view.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sway/tree/view.c b/sway/tree/view.c
index edc3e2af..7482e7a4 100644
--- a/sway/tree/view.c
+++ b/sway/tree/view.c
@@ -569,12 +569,12 @@ static struct sway_workspace *select_workspace(struct sway_view *view) {
}
list_free(criterias);
if (ws) {
- root_remove_workspace_pid(view->pid);
+ remove_workspace_pid(view->pid);
return ws;
}
// Check if there's a PID mapping
- ws = root_workspace_for_pid(view->pid);
+ ws = workspace_for_pid(view->pid);
if (ws) {
return ws;
}