summaryrefslogtreecommitdiffstats
path: root/cmd-rotate-window.c
diff options
context:
space:
mode:
Diffstat (limited to 'cmd-rotate-window.c')
-rw-r--r--cmd-rotate-window.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c
index aa83a25e..a64797d1 100644
--- a/cmd-rotate-window.c
+++ b/cmd-rotate-window.c
@@ -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);