From 08254e68fb994b3386206056a4623fbfc784dec0 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Wed, 15 Mar 2017 10:11:43 +0100 Subject: [PATCH] Readd pub import erroneously removed --- Cargo.toml | 2 +- src/os/unix.rs | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index fd12c13f..432c0723 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "winit" -version = "0.6.1" +version = "0.6.2" 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 194864a2..9d897a76 100644 --- a/src/os/unix.rs +++ b/src/os/unix.rs @@ -13,6 +13,8 @@ use platform::x11::ffi::XVisualInfo; use wayland_client::protocol::wl_display::WlDisplay; use wayland_client::protocol::wl_surface::WlSurface; +pub use platform::x11; + // TODO: do not expose XConnection pub fn get_x11_xconnection() -> Option> { match *UNIX_BACKEND {