diff options
| author | Daniel Eklöf <daniel@ekloef.se> | 2022-04-15 18:12:34 +0000 |
|---|---|---|
| committer | Daniel Eklöf <daniel@ekloef.se> | 2022-04-16 09:45:50 +0000 |
| commit | fbcebd4f1c32f30bfedbad6a108acf6900ea955f (patch) | |
| tree | c56b8d7827f088bfd62f5b0851a76b305a509254 /doc | |
| parent | render: 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 'doc')
| -rw-r--r-- | doc/foot.ini.5.scd | 9 |
1 files changed, 8 insertions, 1 deletions
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 |
