mirror of
https://github.com/swaywm/sway.git
synced 2026-04-20 06:47:03 -04:00
launcher: rename pid_workspace to launcher_ctx
Soon we will match views with more than just a pid.
This commit is contained in:
parent
bd66f4943d
commit
d75c9f9722
4 changed files with 106 additions and 96 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue