From d75c9f9722389d441fd24bd490c5cf12c4bef39a Mon Sep 17 00:00:00 2001 From: Ronan Pigott Date: Wed, 16 Nov 2022 15:50:34 -0700 Subject: launcher: rename pid_workspace to launcher_ctx Soon we will match views with more than just a pid. --- sway/commands/exec_always.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'sway/commands') diff --git a/sway/commands/exec_always.c b/sway/commands/exec_always.c index fab9a402..d67e416f 100644 --- a/sway/commands/exec_always.c +++ b/sway/commands/exec_always.c @@ -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"); } -- cgit v1.2.3