From f0375eed24276e27e036f724c9fde5d344fc140a Mon Sep 17 00:00:00 2001 From: Simon Ser Date: Wed, 23 Nov 2022 16:04:43 +0100 Subject: backend/session: make optional Some compositors are not interested in wlr_session, for instance nested compositors. Disabling wlr_session removes the udev dependency. --- backend/libinput/meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/libinput') 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 -- cgit v1.2.3