mirror of
https://github.com/labwc/labwc.git
synced 2026-04-13 08:21:15 -04:00
This commit moves the virtual output related functions into their own file at `src/output-virtual.c` with its own include file to reduce `include/labwc.h` bit by bit. Additionally, it removes the need to keep the `server->headless.pending_output_name` char array around by temporarily disconnecting the handler when creating a new virtual output. This allows to set the output name right in the `output_virtual_add()` call rather than to store the pending name until the new output event handler has been called. It also makes adding a virtual fallback output easier in a follow-up PR.
48 lines
694 B
Meson
48 lines
694 B
Meson
labwc_sources = files(
|
|
'action.c',
|
|
'buffer.c',
|
|
'debug.c',
|
|
'desktop.c',
|
|
'dnd.c',
|
|
'edges.c',
|
|
'foreign.c',
|
|
'idle.c',
|
|
'interactive.c',
|
|
'layers.c',
|
|
'main.c',
|
|
'node.c',
|
|
'osd.c',
|
|
'output.c',
|
|
'output-virtual.c',
|
|
'placement.c',
|
|
'regions.c',
|
|
'resistance.c',
|
|
'seat.c',
|
|
'server.c',
|
|
'session-lock.c',
|
|
'snap.c',
|
|
'tearing.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('button')
|
|
subdir('common')
|
|
subdir('config')
|
|
subdir('decorations')
|
|
subdir('input')
|
|
subdir('menu')
|
|
subdir('ssd')
|