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
@ -824,7 +824,7 @@ CommandResult *run_binding(Binding *bind, Con *con) {
|
||||
sasprintf(&command, "[con_id=\"%p\"] %s", con, bind->command);
|
||||
|
||||
Binding *bind_cp = binding_copy(bind);
|
||||
CommandResult *result = parse_command(command, NULL);
|
||||
CommandResult *result = parse_command(command, NULL, NULL);
|
||||
free(command);
|
||||
|
||||
if (result->needs_tree_render)
|
||||
|
Reference in New Issue
Block a user