diff options
-rw-r--r-- | cmd-refresh-client.c | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/cmd-refresh-client.c b/cmd-refresh-client.c index 6af3362b..df1d2135 100644 --- a/cmd-refresh-client.c +++ b/cmd-refresh-client.c @@ -67,10 +67,9 @@ cmd_refresh_client_exec(struct cmd *self, struct cmdq_item *item) cmdq_error(item, "not a control client"); return (CMD_RETURN_ERROR); } - if (tty_set_size(&c->tty, w, h)) { - c->flags |= CLIENT_SIZECHANGED; - recalculate_sizes(); - } + tty_set_size(&c->tty, w, h); + c->flags |= CLIENT_SIZECHANGED; + recalculate_sizes(); } else if (args_has(args, 'S')) { c->flags |= CLIENT_STATUSFORCE; server_status_client(c); |