summaryrefslogtreecommitdiffstats
path: root/tty.c
diff options
context:
space:
mode:
authorThomas Adam <thomas@xteddy.org>2012-10-01 13:32:52 +0100
committerThomas Adam <thomas@xteddy.org>2012-10-01 13:32:52 +0100
commit9763282dc1f384f4e3cf491c184ea990fd29e1f7 (patch)
tree470bd2ad655219146fb16995ce92c82da1d21509 /tty.c
parent80b5c0e0768f938dcb80778e4db057333c74989e (diff)
parent44dccf7ea27edb938b732f5b9eb1d59ccb9a11fd (diff)
Merge branch 'obsd-master'
Diffstat (limited to 'tty.c')
-rw-r--r--tty.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/tty.c b/tty.c
index 68d130c2..6663219f 100644
--- a/tty.c
+++ b/tty.c
@@ -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;