From fbcebd4f1c32f30bfedbad6a108acf6900ea955f Mon Sep 17 00:00:00 2001 From: Daniel Eklöf Date: Fri, 15 Apr 2022 20:12:34 +0200 Subject: config: add [csd].hide-when-maximized=yes|no When enabled, the CSD titlebar will be hidden when the window is maximized. Closes #1019 --- tests/test-config.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'tests') 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 */ -- cgit v1.3