summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-select-pane.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2015-12-31 18:34:48 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2015-12-31 18:34:48 +0000
commit1ab79f0ee555dd665cab050f464760c62679253f (patch)
treeba34d495e05ee0e5a23f864f1f54073581e45e50 /usr.bin/tmux/cmd-select-pane.c
parent91a0c054c37f7d0d0b5113054a767c8d44d0b31b (diff)
Remove an extra unzoom call which was probably a merge error.
Diffstat (limited to 'usr.bin/tmux/cmd-select-pane.c')
-rw-r--r--usr.bin/tmux/cmd-select-pane.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/tmux/cmd-select-pane.c b/usr.bin/tmux/cmd-select-pane.c
index 9dccf89f8b1..1b85edff3d0 100644
--- a/usr.bin/tmux/cmd-select-pane.c
+++ b/usr.bin/tmux/cmd-select-pane.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-select-pane.c,v 1.30 2015/12/15 00:00:01 nicm Exp $ */
+/* $OpenBSD: cmd-select-pane.c,v 1.31 2015/12/31 18:34:47 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -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);