rotate-window needs to unzoom, problem reported by Sean Haugh.

pull/646/head^2
nicm 2016-11-14 16:27:12 +00:00
parent db2412e2ac
commit afbf0d42a7
1 changed files with 2 additions and 0 deletions

View File

@ -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);