From 467e4f2ef864a6a695aa2fcdf717f414188a6215 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Daniel=20Ekl=C3=B6f?= Date: Thu, 13 Jan 2022 12:26:20 +0100 Subject: [PATCH] =?UTF-8?q?test:=20config:=20tweak.grapheme-shaping=20can?= =?UTF-8?q?=E2=80=99t=20be=20set=20when=20grapheme-clustering=20has=20been?= =?UTF-8?q?=20disabled?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- tests/test-config.c | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tests/test-config.c b/tests/test-config.c index 12ec6c1d..d22e96a8 100644 --- a/tests/test-config.c +++ b/tests/test-config.c @@ -1137,8 +1137,13 @@ test_section_tweak(void) #endif test_boolean(&ctx, &parse_section_tweak, "damage-whole-window", &conf.tweak.damage_whole_window); + +#if defined(FOOT_GRAPHEME_CLUSTERING) test_boolean(&ctx, &parse_section_tweak, "grapheme-shaping", &conf.tweak.grapheme_shaping); +#else + /* TODO: the setting still exists, but is always forced to ‘false’. */ +#endif test_enum( &ctx, &parse_section_tweak, "grapheme-width-method",