Make restart
IPC command send a reply once restart completed (!) (#3743)
This is achieved by retaining the IPC connection which is sending the restart command across the restart. This is the cleaner fix for https://github.com/i3/go-i3/issues/3 fixes #3565
This commit is contained in:
committed by
GitHub
parent
1eabe1b2b1
commit
e4ecc6e4a1
@ -48,7 +48,7 @@ void run_assignments(i3Window *window) {
|
||||
DLOG("matching assignment, execute command %s\n", current->dest.command);
|
||||
char *full_command;
|
||||
sasprintf(&full_command, "[id=\"%d\"] %s", window->id, current->dest.command);
|
||||
CommandResult *result = parse_command(full_command, NULL);
|
||||
CommandResult *result = parse_command(full_command, NULL, NULL);
|
||||
free(full_command);
|
||||
|
||||
if (result->needs_tree_render)
|
||||
|
Reference in New Issue
Block a user