diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 16:46:23 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2008-06-04 16:46:23 +0000 |
commit | 14b951254674c75d8422a8ac5f320a54d1dd8a48 (patch) | |
tree | e361a5b014694cb4b609f6c05cd54ce250cf669d /input.c | |
parent | f7ba4dfdc91eb3121ca070a0706d0ec2dfe502e1 (diff) | |
download | rtmux-14b951254674c75d8422a8ac5f320a54d1dd8a48.tar.gz rtmux-14b951254674c75d8422a8ac5f320a54d1dd8a48.tar.bz2 rtmux-14b951254674c75d8422a8ac5f320a54d1dd8a48.zip |
Add activity monitoring, also invert items on taskbar which have activity.
Diffstat (limited to 'input.c')
-rw-r--r-- | input.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -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); |