mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-25 06:41:31 +11:00
Merge pull request #156 from vberger/master
Readd pub import erroneously removed
This commit is contained in:
commit
c6968782b1
|
@ -1,6 +1,6 @@
|
||||||
[package]
|
[package]
|
||||||
name = "winit"
|
name = "winit"
|
||||||
version = "0.6.1"
|
version = "0.6.2"
|
||||||
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"]
|
||||||
|
|
|
@ -13,6 +13,8 @@ use platform::x11::ffi::XVisualInfo;
|
||||||
use wayland_client::protocol::wl_display::WlDisplay;
|
use wayland_client::protocol::wl_display::WlDisplay;
|
||||||
use wayland_client::protocol::wl_surface::WlSurface;
|
use wayland_client::protocol::wl_surface::WlSurface;
|
||||||
|
|
||||||
|
pub use platform::x11;
|
||||||
|
|
||||||
// TODO: do not expose XConnection
|
// 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 {
|
||||||
|
|
Loading…
Reference in a new issue