mirror of
https://github.com/rust-windowing/winit.git
synced 2026-09-01 22:30:04 -04:00
api/wayland: activate the backend
This commit is contained in:
@@ -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)) {
|
||||||
|
|||||||
Reference in New Issue
Block a user