aboutsummaryrefslogtreecommitdiff
path: root/config.h
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 /config.h
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 'config.h')
-rw-r--r--config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/config.h b/config.h
index 76768562..38ff758f 100644
--- a/config.h
+++ b/config.h
@@ -262,6 +262,8 @@ struct config {
uint16_t border_width_visible;
uint16_t button_width;
+ bool hide_when_maximized;
+
struct {
bool title_set:1;
bool buttons_set:1;