aboutsummaryrefslogtreecommitdiff
path: root/cmd-resize-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2021-08-27 20:01:11 +0100
committerThomas Adam <thomas@xteddy.org>2021-08-27 20:01:11 +0100
commit609baea95e30201919a173ea1de1f750a15a9f8c (patch)
tree68225d4bd3ba7e258cddb8e6b40f0764408a6e32 /cmd-resize-window.c
parentc6375a0d4003d1008bb64e96e9c0c4433e4a5d13 (diff)
parentdaec63e5e6eb3390d53f4bf7f8a327df77e46c95 (diff)
downloadrtmux-609baea95e30201919a173ea1de1f750a15a9f8c.tar.gz
rtmux-609baea95e30201919a173ea1de1f750a15a9f8c.tar.bz2
rtmux-609baea95e30201919a173ea1de1f750a15a9f8c.zip
Merge branch 'obsd-master' into master
Diffstat (limited to 'cmd-resize-window.c')
-rw-r--r--cmd-resize-window.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-resize-window.c b/cmd-resize-window.c
index 24d73c87..ad739165 100644
--- a/cmd-resize-window.c
+++ b/cmd-resize-window.c
@@ -108,7 +108,9 @@ cmd_resize_window_exec(struct cmd *self, struct cmdq_item *item)
}
options_set_number(w->options, "window-size", WINDOW_SIZE_MANUAL);
- resize_window(w, sx, sy, xpixel, ypixel);
+ w->manual_sx = sx;
+ w->manual_sy = sy;
+ recalculate_size(w, 1);
return (CMD_RETURN_NORMAL);
}