aboutsummaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2025-12-20 14:56:32 +0000
committerDaniel Eklöf <daniel@ekloef.se>2025-12-20 14:57:19 +0000
commit1caba0d993c7bac68b555efb5d6dfab2577fcd02 (patch)
treee13d26ad40ef15f671e959bddd2a02d0a983f226 /config.c
parentconfig: add [colors-dark] and [colors-light], replacing [colors] and [colors2] (diff)
config: remove deprecated config option cursor.color
This option was deprecated in 1.23.0. Use colors-{dark,light}.cursor instead.
Diffstat (limited to 'config.c')
-rw-r--r--config.c22
1 files changed, 0 insertions, 22 deletions
diff --git a/config.c b/config.c
index 0340d418..14e836c1 100644
--- a/config.c
+++ b/config.c
@@ -1661,28 +1661,6 @@ parse_section_cursor(struct context *ctx)
else if (streq(key, "blink-rate"))
return value_to_uint32(ctx, 10, &conf->cursor.blink.rate_ms);
- else if (streq(key, "color")) {
- LOG_WARN("%s:%d: cursor.color: deprecated; use colors.cursor instead",
- ctx->path, ctx->lineno);
-
- user_notification_add(
- &conf->notifications,
- USER_NOTIFICATION_DEPRECATED,
- xstrdup("cursor.color: use colors.cursor instead"));
-
- if (!value_to_two_colors(
- ctx,
- &conf->colors_dark.cursor.text,
- &conf->colors_dark.cursor.cursor,
- false))
- {
- return false;
- }
-
- conf->colors_dark.use_custom.cursor = true;
- return true;
- }
-
else if (streq(key, "beam-thickness"))
return value_to_pt_or_px(ctx, &conf->cursor.beam_thickness);