From 82ab5ecbbd81cb394058f0ce79d22896f9f70e55 Mon Sep 17 00:00:00 2001 From: Ferdinand Schober Date: Tue, 2 Jul 2024 21:53:31 +0200 Subject: [PATCH] fix xdg-desktop-portal backend not available --- input-emulation/src/lib.rs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/input-emulation/src/lib.rs b/input-emulation/src/lib.rs index 869f1f5..541a4f3 100644 --- a/input-emulation/src/lib.rs +++ b/input-emulation/src/lib.rs @@ -118,6 +118,8 @@ pub async fn create( Backend::Wlroots, #[cfg(all(unix, feature = "libei", not(target_os = "macos")))] Backend::Libei, + #[cfg(all(unix, feature = "xdg_desktop_portal", not(target_os = "macos")))] + Backend::Xdp, #[cfg(all(unix, feature = "x11", not(target_os = "macos")))] Backend::X11, #[cfg(windows)]