From 8968acd678d14cf1ff820ad829d06ca93c2047f1 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 541e66f2..1301f92d 100644 --- a/options-table.c +++ b/options-table.c @@ -82,7 +82,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}}, " \ @@ -103,7 +104,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}}, " \