labwc/src/meson.build
Johan Malm d609c9e3f9 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.
2023-05-04 22:09:55 +01:00

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')