diff options
Diffstat (limited to 'sway/commands/exec_always.c')
-rw-r--r-- | sway/commands/exec_always.c | 2 |
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 | } |