From eadf1e306f25e3369c968e36d8a86827adda610c Mon Sep 17 00:00:00 2001 From: Sebastian Ullrich Date: Wed, 22 Aug 2012 17:49:22 +0200 Subject: [PATCH] Fix 'back and forth' in 'workspace number' for named ws --- src/commands.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands.c b/src/commands.c index 8875b8d2..85d8cdf4 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); -- 2.39.5