try out wayland

This commit is contained in:
rustdesk
2021-07-23 17:52:38 +08:00
parent d83163b6a0
commit c15c44788c
12 changed files with 972 additions and 3 deletions

View File

@@ -5,8 +5,17 @@ cfg_if! {
mod quartz;
pub use self::quartz::*;
} else if #[cfg(x11)] {
cfg_if! {
if #[cfg(feature="wayland")] {
mod linux;
mod wayland;
mod x11;
pub use self::x11::*;
pub use self::linux::*;
} else {
mod x11;
pub use self::x11::*;
}
}
} else if #[cfg(dxgi)] {
mod dxgi;
pub use self::dxgi::*;