aboutsummaryrefslogtreecommitdiff
path: root/cmd-resize-window.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2019-09-23 18:01:24 +0100
committerThomas Adam <thomas@xteddy.org>2019-09-23 18:01:24 +0100
commitdd254b90d7a281ee10e10cde3e70749f143af368 (patch)
tree585a2e4e1195998963f5d77fe4f55a2836dbcd2f /cmd-resize-window.c
parent24ab1bc714b80d957b53685635a44dc0a89c032b (diff)
parent77deef733bfc547325d7c6db3e0274b1c52281b9 (diff)
downloadrtmux-dd254b90d7a281ee10e10cde3e70749f143af368.tar.gz
rtmux-dd254b90d7a281ee10e10cde3e70749f143af368.tar.bz2
rtmux-dd254b90d7a281ee10e10cde3e70749f143af368.zip
Merge branch 'obsd-master'
Diffstat (limited to 'cmd-resize-window.c')
-rw-r--r--cmd-resize-window.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cmd-resize-window.c b/cmd-resize-window.c
index d780b6ee..c5a7c5a1 100644
--- a/cmd-resize-window.c
+++ b/cmd-resize-window.c
@@ -98,9 +98,9 @@ cmd_resize_window_exec(struct cmd *self, struct cmdq_item *item)
sy += adjust;
if (args_has(args, 'A'))
- default_window_size(s, w, &sx, &sy, WINDOW_SIZE_LARGEST);
+ default_window_size(NULL, s, w, &sx, &sy, WINDOW_SIZE_LARGEST);
else if (args_has(args, 'a'))
- default_window_size(s, w, &sx, &sy, WINDOW_SIZE_SMALLEST);
+ default_window_size(NULL, s, w, &sx, &sy, WINDOW_SIZE_SMALLEST);
options_set_number(w->options, "window-size", WINDOW_SIZE_MANUAL);
resize_window(w, sx, sy);