summaryrefslogtreecommitdiffstats
path: root/input.c
diff options
context:
space:
mode:
authorNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 16:46:23 +0000
committerNicholas Marriott <nicholas.marriott@gmail.com>2008-06-04 16:46:23 +0000
commit14b951254674c75d8422a8ac5f320a54d1dd8a48 (patch)
treee361a5b014694cb4b609f6c05cd54ce250cf669d /input.c
parentf7ba4dfdc91eb3121ca070a0706d0ec2dfe502e1 (diff)
Add activity monitoring, also invert items on taskbar which have activity.
Diffstat (limited to 'input.c')
-rw-r--r--input.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/input.c b/input.c
index 13532cca..969991e1 100644
--- a/input.c
+++ b/input.c
@@ -1,4 +1,4 @@
-/* $Id: input.c,v 1.46 2008-01-03 21:32:11 nicm Exp $ */
+/* $Id: input.c,v 1.47 2008-06-04 16:46:23 nicm Exp $ */
/*
* Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net>
@@ -223,6 +223,8 @@ input_parse(struct window *w)
else
screen_write_start(&ictx->ctx, &w->base, NULL, NULL);
+ if (ictx->off != ictx->len)
+ w->flags |= WINDOW_ACTIVITY;
while (ictx->off < ictx->len) {
ch = ictx->buf[ictx->off++];
ictx->state(ch, ictx);