mirror of
https://github.com/rust-windowing/winit.git
synced 2026-08-31 13:50:05 -04:00
Add TODO & bump version
This commit is contained in:
@@ -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"]
|
||||||
|
|||||||
@@ -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()),
|
||||||
|
|||||||
Reference in New Issue
Block a user