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 --- doc/foot.ini.5.scd | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'doc') diff --git a/doc/foot.ini.5.scd b/doc/foot.ini.5.scd index 594f893a..37eb0068 100644 --- a/doc/foot.ini.5.scd +++ b/doc/foot.ini.5.scd @@ -592,7 +592,9 @@ Examples: *size* Height, in pixels (subject to output scaling), of the - titlebar. Default: _26_. + titlebar. Setting it to 0 will hide the titlebar, while still + showing the border (if *border-width* is set to a non-zero + value). Default: _26_. *color* Titlebar color. Default: use the default _foreground_ color. @@ -603,6 +605,11 @@ Examples: title bar size. That is, all *:size* and *:pixelsize* attributes will be ignored. Default: _primary font_. +*hide-when-maximized* + Boolean. When enabled, the CSD titlebar is hidden when the window + is maximized. The completely disable the titlebar, set *size* to 0 + instead. Default: _no_. + *border-width* Width of the border, in pixels (subject to output scaling). Note that the border encompasses the entire window, including the title -- cgit v1.3