Merge pull request #1551 from acrisci/bug/rename-workspace-mismatch
bugfix: workspace rename focus mismatch
This commit is contained in:
commit
09e4fb716c
|
@ -1919,6 +1919,10 @@ void cmd_rename_workspace(I3_CMD, char *old_name, char *new_name) {
|
||||||
}
|
}
|
||||||
|
|
||||||
workspace_move_to_output(workspace, assignment->output);
|
workspace_move_to_output(workspace, assignment->output);
|
||||||
|
|
||||||
|
if (previously_focused)
|
||||||
|
workspace_show(con_get_workspace(previously_focused));
|
||||||
|
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue