blob: b6a26021d60a8d7d119ec8df4e1e5c2499c138d9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
#![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 events;
mod keyboard;
mod monitor;
mod window;
#[inline]
pub fn is_available() -> bool {
context::WAYLAND_CONTEXT.is_some()
}
|