From 483a51a2f296da5b9a94d4fc15cd46f136f9baca Mon Sep 17 00:00:00 2001 From: Michael Hofmann Date: Mon, 30 Mar 2015 08:23:00 +0200 Subject: [PATCH] Get workspace name when renaming current workspace. - fixes #1607 --- src/commands.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/commands.c b/src/commands.c index 9b51b3ec..fd43a693 100644 --- a/src/commands.c +++ b/src/commands.c @@ -1836,6 +1836,7 @@ void cmd_rename_workspace(I3_CMD, char *old_name, char *new_name) { !strcasecmp(child->name, old_name)); } else { workspace = con_get_workspace(focused); + old_name = workspace->name; } if (!workspace) {