mirror of
https://github.com/swaywm/sway.git
synced 2025-11-06 13:29:50 -05:00
cleanup + add timeouts for pid_workspace list
This commit is contained in:
parent
66caee645c
commit
2298143d09
5 changed files with 65 additions and 24 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue