mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
Add TODO & bump version
This commit is contained in:
parent
f5812018ca
commit
941c8d3344
|
@ -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()),
|
||||||
|
|
Loading…
Reference in a new issue