diff options
author | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-06 22:52:21 +0000 |
---|---|---|
committer | Nicholas Marriott <nicholas.marriott@gmail.com> | 2010-12-06 22:52:21 +0000 |
commit | 3a4f765a51fd7cf98d655dc5a63746a6121d0212 (patch) | |
tree | 725352590fa509f59fdc3c8d297c2b3b7a586b49 /input.c | |
parent | d0adcbc98a0261716c094c2e83c6d2eaa90a1c95 (diff) |
Add an option to alert (monitor) for silence (lack of activity) in a
window. From Thomas Adam.
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.109 2010-04-18 15:11:47 tcunha Exp $ */ +/* $Id: input.c,v 1.110 2010-12-06 22:52:21 nicm Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -681,7 +681,9 @@ input_parse(struct window_pane *wp) if (EVBUFFER_LENGTH(evb) == 0) return; + wp->window->flags |= WINDOW_ACTIVITY; + wp->window->flags &= ~WINDOW_SILENCE; /* * Open the screen. Use NULL wp if there is a mode set as don't want to |