diff options
author | Nicholas Marriott <nicm@openbsd.org> | 2012-09-29 06:57:56 +0000 |
---|---|---|
committer | Nicholas Marriott <nicm@openbsd.org> | 2012-09-29 06:57:56 +0000 |
commit | 44dccf7ea27edb938b732f5b9eb1d59ccb9a11fd (patch) | |
tree | ce6d930bcdf87b0db1b498d1f8810b09643d688f | |
parent | 7a3ec77dbdb43058bfd810ed7a63f645c8521ee0 (diff) |
Do not test client flags against TTY_FREEZE bit, reported by Tom Ryder.
-rw-r--r-- | tty.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -663,7 +663,9 @@ tty_write( c = ARRAY_ITEM(&clients, i); if (c == NULL || c->session == NULL || c->tty.term == NULL) continue; - if (c->flags & (CLIENT_SUSPENDED|TTY_FREEZE)) + if (c->flags & CLIENT_SUSPENDED) + continue; + if (c->tty.flags & TTY_FREEZE) continue; if (c->session->curw->window != wp->window) continue; |