diff options
| author | 2019-11-28 09:05:34 +0000 | |
|---|---|---|
| committer | 2019-11-28 09:05:34 +0000 | |
| commit | 8002856b9657c90af9e24fa94db5bbb43d82b4bc (patch) | |
| tree | 29f7a707a70dabec6d6819d7d524bf8e3b9c3674 /usr.bin/tmux/cmd-refresh-client.c | |
| parent | status-left and status-right need push-default also, reported by Eric (diff) | |
| download | wireguard-openbsd-8002856b9657c90af9e24fa94db5bbb43d82b4bc.tar.xz wireguard-openbsd-8002856b9657c90af9e24fa94db5bbb43d82b4bc.zip | |
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.c | 4 |
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(); } |
