mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
Support window-rules
Two types of window rules are supported, actions and properties. They are
defined as shown below.
<windowRules>
<!-- Action -->
<windowRule identifier="some-application">
<action name="Maximize"/>
</windowRule>
<!-- Property -->
<windowRule identifier="foo*" serverDecoration="yes|no"/>
</windowRules>
Rules are applied if windows match the criteria defined by the
'identifier' attribute which relates to app_id for native Wayland windows
and WM_CLASS for XWayland clients.
Matching against patterns with '*' (wildcard) and '?' (joker) is
supported.
Add 'serverDecoration' property.
This commit is contained in:
parent
d0aafb684f
commit
d609c9e3f9
12 changed files with 281 additions and 3 deletions
|
|
@ -23,6 +23,7 @@ labwc_sources = files(
|
|||
'theme.c',
|
||||
'view.c',
|
||||
'view-impl-common.c',
|
||||
'window-rules.c',
|
||||
'workspaces.c',
|
||||
'xdg.c',
|
||||
'xdg-popup.c',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue