aboutsummaryrefslogtreecommitdiffstats
path: root/sway/commands/exec_always.c
diff options
context:
space:
mode:
authorLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-04 14:01:49 +1000
committerLibravatar Ryan Dwyer <ryandwyer1@gmail.com>2018-08-04 14:01:49 +1000
commit30e7e0f7c7d3d3ce2851f2e70842d735343fb402 (patch)
treebc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /sway/commands/exec_always.c
parentSeparate root-related code (diff)
downloadsway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.gz
sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.zst
sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.zip
Move workspace pid code to root.c
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 c730cb8b..00e39ae7 100644
--- a/sway/commands/exec_always.c
+++ b/sway/commands/exec_always.c
@@ -78,7 +78,7 @@ struct cmd_results *cmd_exec_always(int argc, char **argv) {
78 waitpid(pid, NULL, 0); 78 waitpid(pid, NULL, 0);
79 if (child > 0) { 79 if (child > 0) {
80 wlr_log(WLR_DEBUG, "Child process created with pid %d", child); 80 wlr_log(WLR_DEBUG, "Child process created with pid %d", child);
81 workspace_record_pid(child); 81 root_record_workspace_pid(child);
82 } else { 82 } else {
83 return cmd_results_new(CMD_FAILURE, "exec_always", 83 return cmd_results_new(CMD_FAILURE, "exec_always",
84 "Second fork() failed"); 84 "Second fork() failed");