blob: f30389c71ef92a5e37ce58b117a2913f6d5427d6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
|
#![cfg(any(target_os = "linux", target_os = "dragonfly", target_os = "freebsd"))]
pub use self::monitor::{MonitorId, get_available_monitors, get_primary_monitor};
pub use self::window::{PollEventsIterator, WaitEventsIterator, Window, WindowProxy};
extern crate wayland_kbd;
extern crate wayland_window;
mod context;
mod monitor;
mod window;
#[inline]
pub fn is_available() -> bool {
context::WAYLAND_CONTEXT.is_some()
}
|