mirror of
https://github.com/labwc/labwc.git
synced 2025-11-06 13:29:58 -05:00
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.
45 lines
644 B
Meson
45 lines
644 B
Meson
labwc_sources = files(
|
|
'action.c',
|
|
'buffer.c',
|
|
'cursor.c',
|
|
'debug.c',
|
|
'desktop.c',
|
|
'dnd.c',
|
|
'foreign.c',
|
|
'interactive.c',
|
|
'keyboard.c',
|
|
'key-state.c',
|
|
'layers.c',
|
|
'main.c',
|
|
'node.c',
|
|
'osd.c',
|
|
'output.c',
|
|
'regions.c',
|
|
'resistance.c',
|
|
'seat.c',
|
|
'server.c',
|
|
'session-lock.c',
|
|
'touch.c',
|
|
'theme.c',
|
|
'view.c',
|
|
'view-impl-common.c',
|
|
'window-rules.c',
|
|
'workspaces.c',
|
|
'xdg.c',
|
|
'xdg-popup.c',
|
|
)
|
|
|
|
if have_xwayland
|
|
labwc_sources += files(
|
|
'xwayland.c',
|
|
'xwayland-unmanaged.c',
|
|
)
|
|
endif
|
|
|
|
|
|
subdir('common')
|
|
subdir('config')
|
|
subdir('decorations')
|
|
subdir('xbm')
|
|
subdir('menu')
|
|
subdir('ssd')
|