Remove an extra unzoom call which was probably a merge error.

pull/259/head
nicm 2015-12-31 18:34:47 +00:00
parent f84d32ca5e
commit 7e67db79dc
1 changed files with 0 additions and 6 deletions

View File

@ -85,12 +85,6 @@ cmd_select_pane_exec(struct cmd *self, struct cmd_q *cmdq)
return (CMD_RETURN_NORMAL);
}
server_unzoom_window(wp->window);
if (!window_pane_visible(wp)) {
cmdq_error(cmdq, "pane not visible");
return (CMD_RETURN_ERROR);
}
if (args_has(args, 'm') || args_has(args, 'M')) {
if (args_has(args, 'm') && !window_pane_visible(wp))
return (CMD_RETURN_NORMAL);