From: Sebastian Ullrich Date: Wed, 22 Aug 2012 15:49:22 +0000 (+0200) Subject: Fix 'back and forth' in 'workspace number' for named ws X-Git-Tag: 4.3~63 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=eadf1e306f25e3369c968e36d8a86827adda610c;p=i3%2Fi3 Fix 'back and forth' in 'workspace number' for named ws --- 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);