aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
authorLibravatar Ronan Pigott <ronan@rjp.ie>2022-11-16 15:50:34 -0700
committerLibravatar Simon Ser <contact@emersion.fr>2022-11-26 09:48:58 +0100
commitd75c9f9722389d441fd24bd490c5cf12c4bef39a (patch)
tree29176c9dd4e467527dea86298995e33a0585bd14 /sway/commands/exec_always.c
parentlauncher: use xdga tokens (diff)
downloadsway-d75c9f9722389d441fd24bd490c5cf12c4bef39a.tar.gz
sway-d75c9f9722389d441fd24bd490c5cf12c4bef39a.tar.zst
sway-d75c9f9722389d441fd24bd490c5cf12c4bef39a.zip
launcher: rename pid_workspace to launcher_ctx
Soon we will match views with more than just a pid.
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r--sway/commands/exec_always.c2
1 files changed, 1 insertions, 1 deletions
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) {
91 waitpid(pid, NULL, 0); 91 waitpid(pid, NULL, 0);
92 if (child > 0) { 92 if (child > 0) {
93 sway_log(SWAY_DEBUG, "Child process created with pid %d", child); 93 sway_log(SWAY_DEBUG, "Child process created with pid %d", child);
94 root_record_workspace_pid(child); 94 launcher_ctx_create(child);
95 } else { 95 } else {
96 return cmd_results_new(CMD_FAILURE, "Second fork() failed"); 96 return cmd_results_new(CMD_FAILURE, "Second fork() failed");
97 } 97 }