window-rules: add fixedPosition property

...to address regression introduced by 57075ce and enables panel/desktop
clients which rely on window rules to remain in the same position when
the usable-area changes (normally because an exclusive layer-shell
clients is started/finished).

Also disallows interactive move/resize, for example by alt +
mouse-press.

Fixes: #1235
This commit is contained in:
Johan Malm 2023-11-09 21:44:51 +00:00 committed by Consolatis
parent 9a8a2905ad
commit 368ede7460
7 changed files with 23 additions and 0 deletions

View file

@ -526,6 +526,12 @@ situation.
*<windowRules><windowRule ignoreFocusRequest="">* [yes|no|default]
*ignoreFocusRequest* prevent window to activate itself.
*<windowRules><windowRule fixedPosition="">* [yes|no|default]
*fixedPosition* disallows interactive move/resize and prevents
re-positioning in response to changes in reserved output space, which
can be caused by *<margin>* settings or exclusive layer-shell clients
such as panels.
## ENVIRONMENT VARIABLES
*XCURSOR_THEME* and *XCURSOR_SIZE* are supported to set cursor theme