cleanup + add timeouts for pid_workspace list

This commit is contained in:
Zandr Martin 2016-06-11 12:43:34 -05:00
parent 66caee645c
commit 2298143d09
No known key found for this signature in database
GPG key ID: AA2BB8EF77F7BBDC
5 changed files with 65 additions and 24 deletions

View file

@ -555,7 +555,7 @@ static struct cmd_results *cmd_exec_always(int argc, char **argv) {
struct pid_workspace *pw = malloc(sizeof(struct pid_workspace));
pw->pid = child;
pw->workspace = strdup(ws->name);
list_add(config->pid_workspaces, pw);
pid_workspace_add(pw);
// TODO: keep track of this pid and open the corresponding view on the current workspace
// blocked pending feature in wlc
} else {