diff options
author | 2017-04-17 06:40:32 +0000 | |
---|---|---|
committer | 2017-04-17 06:40:32 +0000 | |
commit | c409818b0213d7776f44d247a6ea9408417afb15 (patch) | |
tree | 255b9d958202f142a2476ac962680611eb312407 /usr.bin/tmux/tty.c | |
parent | Memory leak, from David CARLIER. (diff) | |
download | wireguard-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/tty.c')
-rw-r--r-- | usr.bin/tmux/tty.c | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/usr.bin/tmux/tty.c b/usr.bin/tmux/tty.c index 20fe7645cbd..f556400e3c9 100644 --- a/usr.bin/tmux/tty.c +++ b/usr.bin/tmux/tty.c @@ -1,4 +1,4 @@ -/* $OpenBSD: tty.c,v 1.259 2017/04/16 20:32:14 nicm Exp $ */ +/* $OpenBSD: tty.c,v 1.260 2017/04/17 06:40:32 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicholas.marriott@gmail.com> @@ -816,9 +816,7 @@ tty_write(void (*cmdfn)(struct tty *, const struct tty_ctx *), if (wp == NULL) return; - if (wp->window->flags & WINDOW_REDRAW || wp->flags & PANE_REDRAW) - return; - if (!window_pane_visible(wp) || wp->flags & PANE_DROP) + if ((wp->flags & (PANE_REDRAW|PANE_DROP)) || !window_pane_visible(wp)) return; TAILQ_FOREACH(c, &clients, entry) { |