Merge pull request #1551 from acrisci/bug/rename-workspace-mismatch

bugfix: workspace rename focus mismatch
This commit is contained in:
Michael Stapelberg 2015-03-16 22:49:38 +01:00
commit 09e4fb716c
1 changed files with 4 additions and 0 deletions

View File

@ -1919,6 +1919,10 @@ void cmd_rename_workspace(I3_CMD, char *old_name, char *new_name) {
}
workspace_move_to_output(workspace, assignment->output);
if (previously_focused)
workspace_show(con_get_workspace(previously_focused));
break;
}