Split platform::unix into platform::x11 and platform::wayland

This also removes deprecated `WindowExtUnix::is_ready`.
This commit is contained in:
Mads Marquart 2022-09-01 07:05:32 +02:00 committed by GitHub
parent a43a15b4a0
commit 1ca8b65e85
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
12 changed files with 239 additions and 227 deletions

View file

@ -30,7 +30,7 @@ pub use self::x11::XNotSupported;
#[cfg(feature = "x11")]
use self::x11::{ffi::XVisualInfo, util::WindowType as XWindowType, XConnection, XError};
#[cfg(feature = "x11")]
use crate::platform::unix::XlibErrorHook;
use crate::platform::x11::XlibErrorHook;
#[cfg(feature = "wayland")]
use crate::window::Theme;
use crate::{