aboutsummaryrefslogtreecommitdiff
path: root/config.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 /config.c
parentMerge branch 'mouse-modifiers-regression' (diff)
parentnotify: add the notify-focus-inhibit config option (diff)
Merge branch 'notify-focus-inhibit'
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/config.c b/config.c
index e3b79e3e..3448cab6 100644
--- a/config.c
+++ b/config.c
@@ -1012,6 +1012,10 @@ parse_section_main(const char *key, const char *value, struct config *conf,
}
}
+ else if (strcmp(key, "notify-focus-inhibit") == 0) {
+ conf->notify_focus_inhibit = str_to_bool(value);
+ }
+
else if (strcmp(key, "url-launch") == 0) {
deprecated_url_option(
conf, "url-launch", "launch", path, lineno);
@@ -2956,6 +2960,7 @@ config_load(struct config *conf, const char *conf_path,
.notify = {
.argv = {.args = NULL},
},
+ .notify_focus_inhibit = true,
.tweak = {
.fcft_filter = FCFT_SCALING_FILTER_LANCZOS3,