summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2020-05-16 14:42:06 +0000
committernicm <nicm@openbsd.org>2020-05-16 14:42:06 +0000
commit62b632c9b2955385990ce839e66b1347719c40bb (patch)
treeb9fcf2782d695bc249589cd5511ccf0462ca27e8 /usr.bin/tmux/server-client.c
parentAvoid sending an empty certificate list from the TLSv1.3 server. (diff)
downloadwireguard-openbsd-62b632c9b2955385990ce839e66b1347719c40bb.tar.xz
wireguard-openbsd-62b632c9b2955385990ce839e66b1347719c40bb.zip
Do not redraw or update mode if nothing has changed.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index 895aad8cbf7..3c5ca289e5d 100644
--- a/usr.bin/tmux/server-client.c
+++ b/usr.bin/tmux/server-client.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: server-client.c,v 1.333 2020/05/16 14:30:17 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.334 2020/05/16 14:42:06 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -1782,7 +1782,6 @@ server_client_check_redraw(struct client *c)
if (!redraw)
continue;
log_debug("%s: redrawing pane %%%u", __func__, wp->id);
- tty_update_mode(tty, mode, NULL);
screen_redraw_pane(c, wp);
}
c->redraw_panes = 0;
@@ -1790,7 +1789,6 @@ server_client_check_redraw(struct client *c)
}
if (c->flags & CLIENT_ALLREDRAWFLAGS) {
- tty_update_mode(tty, mode, NULL);
if (options_get_number(s->options, "set-titles"))
server_client_set_title(c);
screen_redraw_screen(c);