parent
54dc87fb83
commit
f76e6c2bb1
|
@ -1851,6 +1851,7 @@ void cmd_rename_workspace(I3_CMD, char *old_name, char *new_name) {
|
||||||
!strcasecmp(child->name, old_name));
|
!strcasecmp(child->name, old_name));
|
||||||
} else {
|
} else {
|
||||||
workspace = con_get_workspace(focused);
|
workspace = con_get_workspace(focused);
|
||||||
|
old_name = workspace->name;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (!workspace) {
|
if (!workspace) {
|
||||||
|
|
Loading…
Reference in New Issue