diff --git a/Cargo.toml b/Cargo.toml index 70ef71bd..757edb36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.5.6" +version = "0.5.7" authors = ["The winit contributors, Pierre Krieger "] description = "Cross-platform window creation library." keywords = ["windowing"] diff --git a/src/os/unix.rs b/src/os/unix.rs index 6561174b..7ed56373 100644 --- a/src/os/unix.rs +++ b/src/os/unix.rs @@ -15,6 +15,7 @@ use wayland_client::protocol::wl_surface::WlSurface; pub use api::x11; +// TODO: do not expose XConnection pub fn get_x11_xconnection() -> Option> { match *UNIX_BACKEND { UnixBackend::X(ref connec) => Some(connec.clone()),