summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/plugins/trigger/trigger-config.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/trigger/trigger-config.c b/src/plugins/trigger/trigger-config.c
index 2b75e2bea..020050cfd 100644
--- a/src/plugins/trigger/trigger-config.c
+++ b/src/plugins/trigger/trigger-config.c
@@ -53,7 +53,7 @@ char *trigger_config_default_list[][1 + TRIGGER_NUM_OPTIONS] =
{ "beep", "on",
"print",
"",
- "${tg_highlight} || ${tg_msg_pv}",
+ "${tg_displayed) && (${tg_highlight} || ${tg_msg_pv})",
"",
"/print -beep",
"ok" },