api/wayland: activate the backend

This commit is contained in:
Victor Berger 2015-12-22 14:36:11 +01:00
parent 6eba737fce
commit 83e2924ac2

View file

@ -30,7 +30,7 @@ enum Backend {
lazy_static!( lazy_static!(
static ref BACKEND: Backend = { static ref BACKEND: Backend = {
// Wayland backend is not production-ready yet so we disable it // Wayland backend is not production-ready yet so we disable it
if false && wayland::is_available() { if wayland::is_available() {
Backend::Wayland Backend::Wayland
} else { } else {
match XConnection::new(Some(x_error_callback)) { match XConnection::new(Some(x_error_callback)) {