mirror of
https://gitlab.freedesktop.org/wlroots/wlroots.git
synced 2026-06-15 14:33:01 -04:00
backend/wscons: introduce new backend
This commit is contained in:
parent
f56f21b98f
commit
900ff30921
12 changed files with 1208 additions and 7 deletions
|
|
@ -1,6 +1,6 @@
|
|||
wlr_files += files('backend.c')
|
||||
|
||||
all_backends = ['drm', 'libinput', 'x11']
|
||||
all_backends = ['drm', 'libinput', 'x11', 'wscons']
|
||||
backends = get_option('backends')
|
||||
if 'auto' in backends and get_option('auto_features').enabled()
|
||||
backends = all_backends
|
||||
|
|
@ -8,10 +8,10 @@ elif 'auto' in backends and get_option('auto_features').disabled()
|
|||
backends = []
|
||||
endif
|
||||
|
||||
session_required = 'drm' in backends or 'libinput' in backends or get_option('session').enabled()
|
||||
session_required = 'drm' in backends or 'libinput' in backends or 'wscons' in backends or get_option('session').enabled()
|
||||
if get_option('session').disabled()
|
||||
if session_required
|
||||
error('Session support is required for the DRM or libinput backends')
|
||||
error('Session support is required for the DRM or libinput/wscons backends')
|
||||
endif
|
||||
session_required = disabler()
|
||||
endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue