aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2022-04-15 18:12:34 +0000
committerDaniel Eklöf <daniel@ekloef.se>2022-04-16 09:45:50 +0000
commitfbcebd4f1c32f30bfedbad6a108acf6900ea955f (patch)
treec56b8d7827f088bfd62f5b0851a76b305a509254 /tests
parentrender: take (visible) CSD border size into account when setting initial size (diff)
config: add [csd].hide-when-maximized=yes|no
When enabled, the CSD titlebar will be hidden when the window is maximized. Closes #1019
Diffstat (limited to 'tests')
-rw-r--r--tests/test-config.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/tests/test-config.c b/tests/test-config.c
index cabd98ec..313b3672 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -666,6 +666,8 @@ test_section_csd(void)
&conf.csd.color.maximize);
test_color(&ctx, &parse_section_csd, "button-close-color", true,
&conf.csd.color.quit);
+ test_boolean(&ctx, &parse_section_csd, "hide-when-maximized",
+ &conf.csd.hide_when_maximized);
/* TODO: verify the ‘set’ bit is actually set for colors */
/* TODO: font */