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 /cmd-choose-window.c | |
parent | d0adcbc98a0261716c094c2e83c6d2eaa90a1c95 (diff) |
Add an option to alert (monitor) for silence (lack of activity) in a
window. From Thomas Adam.
Diffstat (limited to 'cmd-choose-window.c')
-rw-r--r-- | cmd-choose-window.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/cmd-choose-window.c b/cmd-choose-window.c index aa062340..39608916 100644 --- a/cmd-choose-window.c +++ b/cmd-choose-window.c @@ -1,4 +1,4 @@ -/* $Id: cmd-choose-window.c,v 1.22 2010-06-22 23:26:18 tcunha Exp $ */ +/* $Id: cmd-choose-window.c,v 1.23 2010-12-06 22:52:20 nicm Exp $ */ /* * Copyright (c) 2009 Nicholas Marriott <nicm@users.sourceforge.net> @@ -87,6 +87,8 @@ cmd_choose_window_exec(struct cmd *self, struct cmd_ctx *ctx) flag = '!'; else if (wm->flags & WINLINK_CONTENT) flag = '+'; + else if (wm->flags & WINLINK_SILENCE) + flag = '~'; else if (wm == s->curw) flag = '*'; else if (wm == TAILQ_FIRST(&s->lastw)) |