diff options
author | 2016-11-14 16:27:12 +0000 | |
---|---|---|
committer | 2016-11-14 16:27:12 +0000 | |
commit | 7d6ad1a9cd72e4f247f8c2ee1adf7714ea157731 (patch) | |
tree | 1c6f9fd32a37cf6d722a468a752115fd51225483 /usr.bin/tmux/cmd-rotate-window.c | |
parent | tweak previous; (diff) | |
download | wireguard-openbsd-7d6ad1a9cd72e4f247f8c2ee1adf7714ea157731.tar.xz wireguard-openbsd-7d6ad1a9cd72e4f247f8c2ee1adf7714ea157731.zip |
rotate-window needs to unzoom, problem reported by Sean Haugh.
Diffstat (limited to 'usr.bin/tmux/cmd-rotate-window.c')
-rw-r--r-- | usr.bin/tmux/cmd-rotate-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/usr.bin/tmux/cmd-rotate-window.c b/usr.bin/tmux/cmd-rotate-window.c index 2327f65d75b..52fbbfe9561 100644 --- a/usr.bin/tmux/cmd-rotate-window.c +++ b/usr.bin/tmux/cmd-rotate-window.c @@ -1,4 +1,4 @@ -/* $OpenBSD: cmd-rotate-window.c,v 1.21 2016/10/16 19:04:05 nicm Exp $ */ +/* $OpenBSD: cmd-rotate-window.c,v 1.22 2016/11/14 16:27:12 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -49,6 +49,8 @@ cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item) struct layout_cell *lc; u_int sx, sy, xoff, yoff; + server_unzoom_window(w); + if (args_has(self->args, 'D')) { wp = TAILQ_LAST(&w->panes, window_panes); TAILQ_REMOVE(&w->panes, wp, entry); |