mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-23 22:01:31 +11:00
api/wayland: activate the backend
This commit is contained in:
parent
6eba737fce
commit
83e2924ac2
|
@ -30,7 +30,7 @@ enum Backend {
|
|||
lazy_static!(
|
||||
static ref BACKEND: Backend = {
|
||||
// Wayland backend is not production-ready yet so we disable it
|
||||
if false && wayland::is_available() {
|
||||
if wayland::is_available() {
|
||||
Backend::Wayland
|
||||
} else {
|
||||
match XConnection::new(Some(x_error_callback)) {
|
||||
|
|
Loading…
Reference in a new issue