Readd pub import erroneously removed

This commit is contained in:
Victor Berger 2017-03-15 10:11:43 +01:00
parent 65034f2edf
commit 08254e68fb
2 changed files with 3 additions and 1 deletions

View file

@ -1,6 +1,6 @@
[package]
name = "winit"
version = "0.6.1"
version = "0.6.2"
authors = ["The winit contributors, Pierre Krieger <pierre.krieger1708@gmail.com>"]
description = "Cross-platform window creation library."
keywords = ["windowing"]

View file

@ -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<Arc<XConnection>> {
match *UNIX_BACKEND {