fix xdg-desktop-portal backend not available

This commit is contained in:
Ferdinand Schober
2024-07-02 21:53:31 +02:00
parent ef09cd4806
commit 7056ff697e

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