summaryrefslogtreecommitdiffstats
path: root/cmd-refresh-client.c
diff options
context:
space:
mode:
authornicm <nicm>2019-11-28 09:05:34 +0000
committernicm <nicm>2019-11-28 09:05:34 +0000
commit067604bf8cb23c1a208d26d94dbae7c2ab46dabf (patch)
treed8692a46c84f0bb155282f9208311f8f8646f9cd /cmd-refresh-client.c
parent7fb8eec8f13bf54b3a6c06763d2cf0b29df51281 (diff)
Store xpixel/ypixel from TIOCGWINSZ and add formats.
Diffstat (limited to 'cmd-refresh-client.c')
-rw-r--r--cmd-refresh-client.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cmd-refresh-client.c b/cmd-refresh-client.c
index 49921a74..b4c5e844 100644
--- a/cmd-refresh-client.c
+++ b/cmd-refresh-client.c
@@ -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();
}