xwayland: add sensible rules for NET_WM_WINDOW_TYPE_DESKTOP windows

This commit is contained in:
Grigory Kirillov 2024-05-11 22:40:27 +03:00
parent b41af54a1b
commit 5825db86b7
4 changed files with 51 additions and 11 deletions

View file

@ -891,6 +891,16 @@ situation.
can be caused by *<margin>* settings or exclusive layer-shell clients
such as panels.
*Window type rules*
To make X11 desktop managers work more seamless in a Wayland environment, labwc
sets a special window rule by default, targeting EWMH desktop windows
(NET_WM_WINDOW_TYPE_DESKTOP). It sets these windows to have the properties that
would normally be expected from a desktop manager, like *skipTaskbar*,
*skipWindowSwitcher*, *fixedPosition*, *ToggleAlwaysOnBottom*, etc.
Default window rules can be removed with `<windowRules><clear>`.
## MENU
```