From 9a144a6869a12e25dc4685fdf7ee86feb2bdf078 Mon Sep 17 00:00:00 2001 From: Victor Berger Date: Tue, 12 May 2015 22:49:29 +0200 Subject: Disable Wayland backend. It is not ready for production yet. --- src/platform/linux/api_dispatch.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/platform') diff --git a/src/platform/linux/api_dispatch.rs b/src/platform/linux/api_dispatch.rs index c77c464..1a5e1ab 100644 --- a/src/platform/linux/api_dispatch.rs +++ b/src/platform/linux/api_dispatch.rs @@ -49,7 +49,7 @@ pub enum MonitorID { } pub fn get_available_monitors() -> VecDeque { - if wayland::is_available() { + if false && wayland::is_available() { // We are doing wayland wayland::get_available_monitors() .into_iter() @@ -64,7 +64,7 @@ pub fn get_available_monitors() -> VecDeque { } } pub fn get_primary_monitor() -> MonitorID { - if wayland::is_available() { + if false && wayland::is_available() { MonitorID::Wayland(wayland::get_primary_monitor()) } else { MonitorID::X(x11::get_primary_monitor()) @@ -133,7 +133,7 @@ impl<'a> Iterator for WaitEventsIterator<'a> { impl Window { pub fn new(builder: BuilderAttribs) -> Result { - if wayland::is_available() { + if false && wayland::is_available() { // we have a wayland connection, go for it let window = try!(wayland::Window::new(builder)); Ok(Window::Wayland(window)) -- cgit v1.2.3