aboutsummaryrefslogtreecommitdiff
path: root/notify.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2021-10-07 17:42:06 +0000
committerDaniel Eklöf <daniel@ekloef.se>2021-10-07 17:42:06 +0000
commit3d1fa4bcc37f0dbb6aa537b5a93876b26ce41d58 (patch)
tree6d3a2e71373f4b09e8b8a867f674410c7018f5a0 /notify.c
parentMerge branch 'mouse-modifiers-regression' (diff)
parentnotify: add the notify-focus-inhibit config option (diff)
Merge branch 'notify-focus-inhibit'
Diffstat (limited to 'notify.c')
-rw-r--r--notify.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/notify.c b/notify.c
index a90cd317..13cee895 100644
--- a/notify.c
+++ b/notify.c
@@ -19,7 +19,7 @@ notify_notify(const struct terminal *term, const char *title, const char *body)
{
LOG_DBG("notify: title=\"%s\", msg=\"%s\"", title, body);
- if (term->kbd_focus) {
+ if (term->conf->notify_focus_inhibit && term->kbd_focus) {
/* No notifications while we’re focused */
return;
}