summaryrefslogtreecommitdiff
path: root/usr.bin/tmux/cmd-refresh-client.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicm@cvs.openbsd.org>2019-11-28 09:05:35 +0000
committerNicholas Marriott <nicm@cvs.openbsd.org>2019-11-28 09:05:35 +0000
commitcd611b35a50075d97d586625dfd38e67ef935a63 (patch)
treebc4d2a048a782e44cd422f60d0ee436799757f04 /usr.bin/tmux/cmd-refresh-client.c
parentce3b476e5570567573ce3ac4a03c418c1105021a (diff)
Store xpixel/ypixel from TIOCGWINSZ and add formats.
Diffstat (limited to 'usr.bin/tmux/cmd-refresh-client.c')
-rw-r--r--usr.bin/tmux/cmd-refresh-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/tmux/cmd-refresh-client.c b/usr.bin/tmux/cmd-refresh-client.c
index 4de9e62c72c..9e6ada6340b 100644
--- a/usr.bin/tmux/cmd-refresh-client.c
+++ b/usr.bin/tmux/cmd-refresh-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: cmd-refresh-client.c,v 1.29 2019/07/10 11:20:10 nicm Exp $ */
+/* $OpenBSD: cmd-refresh-client.c,v 1.30 2019/11/28 09:05:34 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -130,7 +130,7 @@ cmd_refresh_client_exec(struct cmd *self, struct cmdq_item *item)
cmdq_error(item, "size too small or too big");
return (CMD_RETURN_ERROR);
}
- tty_set_size(&c->tty, x, y);
+ tty_set_size(&c->tty, x, y, 0, 0);
c->flags |= CLIENT_SIZECHANGED;
recalculate_sizes();
}