Remove dead code in cmd_workspace_number
If a ws doesn't exist, maybe_back_and_forth will never return true for it.
This commit is contained in:
parent
82b73c20c9
commit
d29b62f24f
|
@ -840,8 +840,6 @@ void cmd_workspace_number(I3_CMD, char *which) {
|
|||
ysuccess(true);
|
||||
/* terminate the which string after the endposition of the number */
|
||||
*endptr = '\0';
|
||||
if (maybe_back_and_forth(cmd_output, which))
|
||||
return;
|
||||
workspace_show_by_name(which);
|
||||
cmd_output->needs_tree_render = true;
|
||||
return;
|
||||
|
|
Loading…
Reference in New Issue