mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2025-10-29 05:40:12 -04:00
Make X11 fully optional
Make X11 Backend (in addition to XWayland) optional and small bug fix on XWayland includes.
This commit is contained in:
parent
bfc0e95d2c
commit
ebdabc2030
5 changed files with 49 additions and 27 deletions
|
|
@ -24,7 +24,6 @@ backend_files = files(
|
|||
'wayland/output.c',
|
||||
'wayland/registry.c',
|
||||
'wayland/wl_seat.c',
|
||||
'x11/backend.c',
|
||||
)
|
||||
|
||||
backend_deps = [
|
||||
|
|
@ -50,6 +49,10 @@ if conf_data.get('WLR_HAS_SYSTEMD', false)
|
|||
backend_deps += systemd
|
||||
endif
|
||||
|
||||
if conf_data.get('WLR_HAS_X11_BACKEND', false)
|
||||
backend_files += files('x11/backend.c')
|
||||
endif
|
||||
|
||||
if conf_data.get('WLR_HAS_ELOGIND', false)
|
||||
backend_files += files('session/logind.c')
|
||||
backend_deps += elogind
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue