aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorVictor Berger <victor.berger@m4x.org>2015-05-12 22:49:29 +0200
committerVictor Berger <victor.berger@m4x.org>2015-05-12 22:49:29 +0200
commit9a144a6869a12e25dc4685fdf7ee86feb2bdf078 (patch)
treed476d4e3520d8eebb91c6c9599527c7aa962ca75 /src
parent310b44f35be8146623d8e5fbbe380ae14f30de72 (diff)
downloadglutin-9a144a6869a12e25dc4685fdf7ee86feb2bdf078.tar.gz
glutin-9a144a6869a12e25dc4685fdf7ee86feb2bdf078.zip
Disable Wayland backend.
It is not ready for production yet.
Diffstat (limited to 'src')
-rw-r--r--src/platform/linux/api_dispatch.rs6
1 files changed, 3 insertions, 3 deletions
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<MonitorID> {
- 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<MonitorID> {
}
}
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<Window, CreationError> {
- 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))