api/wayland: core context

This commit is contained in:
Victor Berger 2015-12-08 23:30:17 +01:00
parent 1b25d705ce
commit 741311b619
2 changed files with 44 additions and 1 deletions

View file

@ -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()
}