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
This commit is contained in:
Daniel Eklöf 2023-07-14 12:03:35 +02:00
parent 3cd0e2adb0
commit 3f7be59062
No known key found for this signature in database
GPG key ID: 5BBD4992C116573F
7 changed files with 19 additions and 1 deletions

View file

@ -692,6 +692,10 @@ Examples:
is maximized. The completely disable the titlebar, set *size* to 0
instead. Default: _no_.
*double-click-to-maximize*
Boolean. When enabled, double-clicking the CSD titlebar will
(un)maximize the window. Default: _yes_.
*border-width*
Width of the border, in pixels (subject to output scaling). Note
that the border encompasses the entire window, including the title