Merge pull request #156 from vberger/master

Readd pub import erroneously removed
This commit is contained in:
tomaka 2017-03-15 10:29:46 +01:00 committed by GitHub
commit c6968782b1
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 {