diff options
author | Victor Berger <victor.berger@m4x.org> | 2015-12-08 23:30:17 +0100 |
---|---|---|
committer | Victor Berger <victor.berger@m4x.org> | 2015-12-22 14:36:41 +0100 |
commit | 741311b619c9738b3adb15213c442e47834a1c98 (patch) | |
tree | 7edefb46dc34bf9034f58c8bf90265865794e2fc /src/api/wayland/mod.rs | |
parent | 1b25d705ce2110b097b98f37f5e7dd9dc3a9d82c (diff) | |
download | glutin-741311b619c9738b3adb15213c442e47834a1c98.tar.gz glutin-741311b619c9738b3adb15213c442e47834a1c98.zip |
api/wayland: core context
Diffstat (limited to 'src/api/wayland/mod.rs')
-rw-r--r-- | src/api/wayland/mod.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/api/wayland/mod.rs b/src/api/wayland/mod.rs index 246a9e4..f30389c 100644 --- a/src/api/wayland/mod.rs +++ b/src/api/wayland/mod.rs @@ -6,10 +6,11 @@ pub use self::window::{PollEventsIterator, WaitEventsIterator, Window, WindowPro extern crate wayland_kbd; extern crate wayland_window; +mod context; mod monitor; mod window; #[inline] pub fn is_available() -> bool { - false + context::WAYLAND_CONTEXT.is_some() } |