summaryrefslogtreecommitdiffstats
path: root/cmd-rotate-window.c
diff options
context:
space:
mode:
authornicm <nicm>2021-03-11 06:31:05 +0000
committernicm <nicm>2021-03-11 06:31:05 +0000
commitd98f9f7fe56beefeb294184ffaed24b7ea510a97 (patch)
tree46adbfe0fbc5e7f4a782792470c8d8e5465ee79c /cmd-rotate-window.c
parent7f87280cd539c26a9b088cca2de895dd86b60449 (diff)
Add split-window -Z to start the pane zoomed, GitHub issue 2591.
Diffstat (limited to 'cmd-rotate-window.c')
-rw-r--r--cmd-rotate-window.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-rotate-window.c b/cmd-rotate-window.c
index 55c1dde2..450ffc17 100644
--- a/cmd-rotate-window.c
+++ b/cmd-rotate-window.c
@@ -52,7 +52,7 @@ cmd_rotate_window_exec(struct cmd *self, struct cmdq_item *item)
struct layout_cell *lc;
u_int sx, sy, xoff, yoff;
- window_push_zoom(w, args_has(args, 'Z'));
+ window_push_zoom(w, 0, args_has(args, 'Z'));
if (args_has(args, 'D')) {
wp = TAILQ_LAST(&w->panes, window_panes);