aboutsummaryrefslogtreecommitdiff
path: root/sway/commands
diff options
context:
space:
mode:
authorDrew DeVault <sir@cmpwn.com>2018-07-24 14:44:01 -0400
committerGitHub <noreply@github.com>2018-07-24 14:44:01 -0400
commit817d37c95032946a2e508fcc33cfa5c7ed65cc0d (patch)
tree69fb79348eaff481fabaee4c2bb25991487d438b /sway/commands
parent347f7cb4c1edb3c4a6c38ffb3f9dcdd98f37e475 (diff)
parentc80258c3b394781c42cd4f2c161c705b2558c485 (diff)
Merge pull request #2165 from swaywm/pid-workspaces
Implement pid->workspace tracking
Diffstat (limited to 'sway/commands')
-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 c7727857..9bf2b320 100644
--- a/sway/commands/exec_always.c
+++ b/sway/commands/exec_always.c
@@ -74,7 +74,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);
- // TODO: add PID to active workspace
+ workspace_record_pid(child);
} else {
return cmd_results_new(CMD_FAILURE, "exec_always",
"Second fork() failed");