aboutsummaryrefslogtreecommitdiff
path: root/config.h
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 /config.h
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 'config.h')
-rw-r--r--config.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/config.h b/config.h
index 20c07f6c..8189e56d 100644
--- a/config.h
+++ b/config.h
@@ -285,6 +285,7 @@ struct config {
uint16_t button_width;
bool hide_when_maximized;
+ bool double_click_to_maximize;
struct {
bool title_set:1;