]> git.sur5r.net Git - i3/i3/commitdiff
Fix 'back and forth' in 'workspace number' for named ws
authorSebastian Ullrich <sebasti@nullrich.de>
Wed, 22 Aug 2012 15:49:22 +0000 (17:49 +0200)
committerMichael Stapelberg <michael@stapelberg.de>
Wed, 22 Aug 2012 15:57:32 +0000 (17:57 +0200)
src/commands.c

index 8875b8d2bd93b87fd8f0090aa928756e21176d9f..85d8cdf4c211f5218c7a383c69b622f5e1c6abff 100644 (file)
@@ -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);