diff options
author | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-04 14:01:49 +1000 |
---|---|---|
committer | Ryan Dwyer <ryandwyer1@gmail.com> | 2018-08-04 14:01:49 +1000 |
commit | 30e7e0f7c7d3d3ce2851f2e70842d735343fb402 (patch) | |
tree | bc82fb73e33446c5ec0b50c1bae73658e3eeb6b4 /sway/commands | |
parent | 04489ff4209dc073027419d90961367cfb998fe8 (diff) | |
download | sway-30e7e0f7c7d3d3ce2851f2e70842d735343fb402.tar.xz |
Move workspace pid code to root.c
Diffstat (limited to 'sway/commands')
-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 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) { waitpid(pid, NULL, 0); if (child > 0) { wlr_log(WLR_DEBUG, "Child process created with pid %d", child); - workspace_record_pid(child); + root_record_workspace_pid(child); } else { return cmd_results_new(CMD_FAILURE, "exec_always", "Second fork() failed"); |