Add TODO & bump version

This commit is contained in:
rerion 2017-01-07 15:00:15 +01:00
parent f5812018ca
commit 941c8d3344
2 changed files with 2 additions and 1 deletions

View file

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

View file

@ -15,6 +15,7 @@ use wayland_client::protocol::wl_surface::WlSurface;
pub use api::x11; pub use api::x11;
// TODO: do not expose XConnection
pub fn get_x11_xconnection() -> Option<Arc<XConnection>> { pub fn get_x11_xconnection() -> Option<Arc<XConnection>> {
match *UNIX_BACKEND { match *UNIX_BACKEND {
UnixBackend::X(ref connec) => Some(connec.clone()), UnixBackend::X(ref connec) => Some(connec.clone()),