---
 src/commands.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/commands.c b/src/commands.c
index 8875b8d..85d8cdf 100644
--- a/src/commands.c
+++ b/src/commands.c
@@ -846,7 +846,7 @@ void cmd_workspace_number(I3_CMD, char *which) {
         cmd_output->needs_tree_render = true;
         return;
     }
-    if (maybe_back_and_forth(cmd_output, which))
+    if (maybe_back_and_forth(cmd_output, workspace->name))
         return;
     workspace_show(workspace);
 
-- 
1.7.11.5

Reply via email to