summaryrefslogtreecommitdiffstats
path: root/alerts.c
diff options
context:
space:
mode:
authornicm <nicm>2017-06-28 06:45:31 +0000
committernicm <nicm>2017-06-28 06:45:31 +0000
commit1e376be13d3ed6bd850b15d0292d73d47ad07e94 (patch)
tree81796259850cf34a257edda73ecd0c6fcfd28466 /alerts.c
parent95ed7d48c84198da0ec4b1b9b5de9358a47da753 (diff)
Fix visual-silence (check accidentally the wrong way round), from Brad
Town. Plus some tmux.1 fixes from jmc@.
Diffstat (limited to 'alerts.c')
-rw-r--r--alerts.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/alerts.c b/alerts.c
index 6696369f..a489d444 100644
--- a/alerts.c
+++ b/alerts.c
@@ -285,8 +285,7 @@ alerts_check_silence(struct window *w)
if (options_get_number(s->options, "bell-on-alert"))
alerts_ring_bell(s);
-
- if (!options_get_number(s->options, "visual-silence"))
+ if (options_get_number(s->options, "visual-silence"))
alerts_set_message(s, "Silence in window %d", wl->idx);
}