Fix 'back and forth' in 'workspace number' for named ws

This commit is contained in:
Sebastian Ullrich 2012-08-22 17:49:22 +02:00 committed by Michael Stapelberg
parent 6e75dc7e0e
commit eadf1e306f
1 changed files with 1 additions and 1 deletions

View File

@ -846,7 +846,7 @@ void cmd_workspace_number(I3_CMD, char *which) {
cmd_output->needs_tree_render = true; cmd_output->needs_tree_render = true;
return; return;
} }
if (maybe_back_and_forth(cmd_output, which)) if (maybe_back_and_forth(cmd_output, workspace->name))
return; return;
workspace_show(workspace); workspace_show(workspace);