summaryrefslogtreecommitdiffstats
path: root/usr.bin/tmux/server-client.c
diff options
context:
space:
mode:
authornicm <nicm@openbsd.org>2017-04-17 06:40:32 +0000
committernicm <nicm@openbsd.org>2017-04-17 06:40:32 +0000
commitc409818b0213d7776f44d247a6ea9408417afb15 (patch)
tree255b9d958202f142a2476ac962680611eb312407 /usr.bin/tmux/server-client.c
parentMemory leak, from David CARLIER. (diff)
downloadwireguard-openbsd-c409818b0213d7776f44d247a6ea9408417afb15.tar.xz
wireguard-openbsd-c409818b0213d7776f44d247a6ea9408417afb15.zip
Remove a couple of redraw flags that no longer have any effect.
Diffstat (limited to 'usr.bin/tmux/server-client.c')
-rw-r--r--usr.bin/tmux/server-client.c8
1 files changed, 1 insertions, 7 deletions
diff --git a/usr.bin/tmux/server-client.c b/usr.bin/tmux/server-client.c
index a06035c698a..27979e5778f 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.216 2017/04/05 10:49:46 nicm Exp $ */
+/* $OpenBSD: server-client.c,v 1.217 2017/04/17 06:40:32 nicm Exp $ */
/*
* Copyright (c) 2009 Nicholas Marriott <nicholas.marriott@gmail.com>
@@ -992,7 +992,6 @@ server_client_loop(void)
*/
focus = options_get_number(global_options, "focus-events");
RB_FOREACH(w, windows, &windows) {
- w->flags &= ~WINDOW_REDRAW;
TAILQ_FOREACH(wp, &w->panes, entry) {
if (wp->fd != -1) {
if (focus)
@@ -1227,11 +1226,6 @@ server_client_check_redraw(struct client *c)
tty_update_mode(tty, tty->mode, NULL);
screen_redraw_screen(c, 1, 1, 1);
c->flags &= ~(CLIENT_STATUS|CLIENT_BORDERS);
- } else if (c->flags & CLIENT_REDRAWWINDOW) {
- tty_update_mode(tty, tty->mode, NULL);
- TAILQ_FOREACH(wp, &c->session->curw->window->panes, entry)
- screen_redraw_pane(c, wp);
- c->flags &= ~CLIENT_REDRAWWINDOW;
} else {
TAILQ_FOREACH(wp, &c->session->curw->window->panes, entry) {
if (wp->flags & PANE_REDRAW) {