summaryrefslogtreecommitdiffstats
path: root/sway/commands.c
diff options
context:
space:
mode:
authorLibravatar Zandr Martin <zandrmartin+git@gmail.com>2016-06-11 12:43:34 -0500
committerLibravatar Zandr Martin <zandrmartin+git@gmail.com>2016-06-11 12:43:34 -0500
commit2298143d09ce8810d9772f95e1cb605fb6b08536 (patch)
treed1b4fb33848d09c71602005c57919a903ce3d72d /sway/commands.c
parentMerge branch 'master' into assign-command (diff)
downloadsway-2298143d09ce8810d9772f95e1cb605fb6b08536.tar.gz
sway-2298143d09ce8810d9772f95e1cb605fb6b08536.tar.zst
sway-2298143d09ce8810d9772f95e1cb605fb6b08536.zip
cleanup + add timeouts for pid_workspace list
Diffstat (limited to 'sway/commands.c')
-rw-r--r--sway/commands.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/sway/commands.c b/sway/commands.c
index 3a6b2af5..5e84ea9a 100644
--- a/sway/commands.c
+++ b/sway/commands.c
@@ -555,7 +555,7 @@ static struct cmd_results *cmd_exec_always(int argc, char **argv) {
555 struct pid_workspace *pw = malloc(sizeof(struct pid_workspace)); 555 struct pid_workspace *pw = malloc(sizeof(struct pid_workspace));
556 pw->pid = child; 556 pw->pid = child;
557 pw->workspace = strdup(ws->name); 557 pw->workspace = strdup(ws->name);
558 list_add(config->pid_workspaces, pw); 558 pid_workspace_add(pw);
559 // TODO: keep track of this pid and open the corresponding view on the current workspace 559 // TODO: keep track of this pid and open the corresponding view on the current workspace
560 // blocked pending feature in wlc 560 // blocked pending feature in wlc
561 } else { 561 } else {