From 09f71ed1b24a875e2747583dee0008765df9e74f Mon Sep 17 00:00:00 2001 From: nicm Date: Tue, 2 Apr 2019 18:41:24 +0000 Subject: [PATCH] Silence flag should use the same option as activity, reported by Thomas Sattler. --- options-table.c | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/options-table.c b/options-table.c index b3bc84da..fc72c3a9 100644 --- a/options-table.c +++ b/options-table.c @@ -83,7 +83,8 @@ static const char *options_table_window_size_list[] = { "#{?#{&&:#{window_bell_flag}," \ "#{!=:#{window-status-bell-style},default}}, " \ "#{window-status-bell-style}," \ - "#{?#{&&:#{window_activity_flag}," \ + "#{?#{&&:#{||:#{window_activity_flag}," \ + "#{window_silence_flag}}," \ "#{!=:" \ "#{window-status-activity-style}," \ "default}}, " \ @@ -104,7 +105,8 @@ static const char *options_table_window_size_list[] = { "#{?#{&&:#{window_bell_flag}," \ "#{!=:#{window-status-bell-style},default}}, " \ "#{window-status-bell-style}," \ - "#{?#{&&:#{window_activity_flag}," \ + "#{?#{&&:#{||:#{window_activity_flag}," \ + "#{window_silence_flag}}," \ "#{!=:" \ "#{window-status-activity-style}," \ "default}}, " \