fix xdg-desktop-portal backend not available

This commit is contained in:
Ferdinand Schober
2024-07-02 21:53:31 +02:00
committed by Ferdinand Schober
parent 3fd2b31562
commit 82ab5ecbbd

View File

@@ -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)]