decorations: add SetDecorations action

This commit is contained in:
Tobias Bengfort 2024-04-20 06:29:51 +02:00 committed by Johan Malm
parent e2590f10fd
commit 41a3b68846
6 changed files with 62 additions and 0 deletions

View file

@ -120,6 +120,17 @@ Actions are used in menus and keyboard/mouse bindings.
upper-left corner of the window associated with the action. Default is
yes.
*<action name="SetDecorations" decorations="value" forceSSD="no" />*
Set decorations of focused window.
*decorations* [full|border|none] *full* enables the whole server side
decorations. With *border*. only the borders and invisible resize area
are enabled. *none* disables everything.
*forceSSD* [yes|no] If this is no, this action will be ignored for
windows that have client side decorations if it would increase the
amount of decoration. Default is no.
*<action name="ToggleDecorations" />*
Toggle decorations of focused window.