Move api module into platform::linux
This commit is contained in:
parent
d0ae5bda16
commit
4acf437221
16 changed files with 12 additions and 17 deletions
|
|
@ -7,14 +7,12 @@ use Window;
|
|||
use platform::Window as LinuxWindow;
|
||||
use platform::{UnixBackend, UNIX_BACKEND};
|
||||
use WindowBuilder;
|
||||
use api::x11::XConnection;
|
||||
use api::x11::ffi::XVisualInfo;
|
||||
use platform::x11::XConnection;
|
||||
use platform::x11::ffi::XVisualInfo;
|
||||
|
||||
use wayland_client::protocol::wl_display::WlDisplay;
|
||||
use wayland_client::protocol::wl_surface::WlSurface;
|
||||
|
||||
pub use api::x11;
|
||||
|
||||
// TODO: do not expose XConnection
|
||||
pub fn get_x11_xconnection() -> Option<Arc<XConnection>> {
|
||||
match *UNIX_BACKEND {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue