diff options
Diffstat (limited to 'status.c')
-rw-r--r-- | status.c | 9 |
1 files changed, 8 insertions, 1 deletions
@@ -1,4 +1,4 @@ -/* $Id: status.c,v 1.81 2009-05-17 18:15:40 nicm Exp $ */ +/* $Id: status.c,v 1.82 2009-05-19 13:32:55 tcunha Exp $ */ /* * Copyright (c) 2007 Nicholas Marriott <nicm@users.sourceforge.net> @@ -184,6 +184,8 @@ draw: larrow = -1; else if (session_alert_has(s, wl, WINDOW_BELL)) larrow = -1; + else if (session_alert_has(s, wl, WINDOW_CONTENT)) + larrow = -1; } for (ptr = text; *ptr != '\0'; ptr++) { @@ -197,6 +199,8 @@ draw: rarrow = -1; else if (session_alert_has(s, wl, WINDOW_BELL)) rarrow = -1; + else if (session_alert_has(s, wl, WINDOW_CONTENT)) + rarrow = -1; } if (offset < start + width) { @@ -470,6 +474,9 @@ status_print(struct session *s, struct winlink *wl, struct grid_cell *gc) } else if (session_alert_has(s, wl, WINDOW_BELL)) { flag = '!'; gc->attr ^= GRID_ATTR_REVERSE; + } else if (session_alert_has(s, wl, WINDOW_CONTENT)) { + flag = '+'; + gc->attr ^= GRID_ATTR_REVERSE; } xasprintf(&text, "%d:%s%c", wl->idx, wl->window->name, flag); |