aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-03-17 11:02:57 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-03-17 11:02:57 +0000
commitd2ede697f9cb40269399bd2f72bcac11a2b918b0 (patch)
treeaf93c34e1d9c9d5fb2a1ce56383d01e6aa614016 /config.c
parentdoc: foot.init: surface-bit-depth: mention 10-bit surfaces are slow (diff)
config: remove deprecated options 'notify' and 'notify-focus-inhibit'
They've been deprecated since 1.18.0
Diffstat (limited to 'config.c')
-rw-r--r--config.c24
1 files changed, 0 insertions, 24 deletions
diff --git a/config.c b/config.c
index 6c8e147f..222b1b60 100644
--- a/config.c
+++ b/config.c
@@ -1058,30 +1058,6 @@ parse_section_main(struct context *ctx)
else if (streq(key, "word-delimiters"))
return value_to_wchars(ctx, &conf->word_delimiters);
- else if (streq(key, "notify")) {
- user_notification_add(
- &conf->notifications, USER_NOTIFICATION_DEPRECATED,
- xstrdup("notify: use desktop-notifications.command instead"));
- log_msg(
- LOG_CLASS_WARNING, LOG_MODULE, __FILE__, __LINE__,
- "deprecated: notify: use desktop-notifications.command instead");
- return value_to_spawn_template(
- ctx, &conf->desktop_notifications.command);
- }
-
- else if (streq(key, "notify-focus-inhibit")) {
- user_notification_add(
- &conf->notifications, USER_NOTIFICATION_DEPRECATED,
- xstrdup("notify-focus-inhibit: "
- "use desktop-notifications.inhibit-when-focused instead"));
- log_msg(
- LOG_CLASS_WARNING, LOG_MODULE, __FILE__, __LINE__,
- "deprecrated: notify-focus-inhibit: "
- "use desktop-notifications.inhibit-when-focused instead");
- return value_to_bool(
- ctx, &conf->desktop_notifications.inhibit_when_focused);
- }
-
else if (streq(key, "selection-target")) {
_Static_assert(sizeof(conf->selection_target) == sizeof(int),
"enum is not 32-bit");