config: add [csd].hide-when-maximized=yes|no

When enabled, the CSD titlebar will be hidden when the window is
maximized.

Closes #1019
This commit is contained in:
Daniel Eklöf 2022-04-15 20:12:34 +02:00
parent 979f48a62f
commit fbcebd4f1c
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
6 changed files with 19 additions and 2 deletions

View file

@ -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;