aboutsummaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorDaniel Eklöf <daniel@ekloef.se>2023-07-14 10:03:35 +0000
committerDaniel Eklöf <daniel@ekloef.se>2023-07-14 10:03:35 +0000
commit3f7be59062f00cd99d832eaa5d389b880a3c512e (patch)
tree2849470c94e9fc7a7300a60a7542a5e459bf70d8 /tests
parentthemes: enable custom cursor colors in all themes that define such colors (diff)
config: add csd.double-click-to-maximize=no|yes option
When enabled, double-clicking the CSD titlebar will (un)maximize the window. Defaults to ‘yes’ (since this is the old hard-coded behavior). Closes #1293
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 e59c104e..54efd13a 100644
--- a/tests/test-config.c
+++ b/tests/test-config.c
@@ -777,6 +777,8 @@ test_section_csd(void)
&conf.csd.color.quit);
test_boolean(&ctx, &parse_section_csd, "hide-when-maximized",
&conf.csd.hide_when_maximized);
+ test_boolean(&ctx, &parse_section_csd, "double-click-to-maximize",
+ &conf.csd.double_click_to_maximize);
/* TODO: verify the ‘set’ bit is actually set for colors */
/* TODO: font */