mirror of
https://github.com/swaywm/sway.git
synced 2026-03-18 05:34:20 -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
|
|
@ -91,7 +91,7 @@ struct cmd_results *cmd_exec_process(int argc, char **argv) {
|
|||
waitpid(pid, NULL, 0);
|
||||
if (child > 0) {
|
||||
sway_log(SWAY_DEBUG, "Child process created with pid %d", child);
|
||||
root_record_workspace_pid(child);
|
||||
launcher_ctx_create(child);
|
||||
} else {
|
||||
return cmd_results_new(CMD_FAILURE, "Second fork() failed");
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue