aboutsummaryrefslogtreecommitdiff
path: root/backend/libinput
diff options
context:
space:
mode:
authorSimon Ser <contact@emersion.fr>2022-11-23 16:04:43 +0100
committerSimon Zeni <simon@bl4ckb0ne.ca>2022-11-25 16:15:29 +0000
commitf0375eed24276e27e036f724c9fde5d344fc140a (patch)
tree32732996951bd290acd3ba12084ab42778134073 /backend/libinput
parent21254737bf97e5be44071063c14fce5a403a9a22 (diff)
backend/session: make optional
Some compositors are not interested in wlr_session, for instance nested compositors. Disabling wlr_session removes the udev dependency.
Diffstat (limited to 'backend/libinput')
-rw-r--r--backend/libinput/meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/backend/libinput/meson.build b/backend/libinput/meson.build
index 2f3ccab3..181eb04b 100644
--- a/backend/libinput/meson.build
+++ b/backend/libinput/meson.build
@@ -10,7 +10,7 @@ libinput = dependency(
not_found_message: '\n'.join(msg),
)
-if not libinput.found()
+if not (libinput.found() and features['session'])
subdir_done()
endif