mirror of
https://github.com/italicsjenga/winit-sonoma-fix.git
synced 2024-12-24 22:31:30 +11:00
api/wayland: activate the backend
This commit is contained in:
parent
6eba737fce
commit
83e2924ac2
|
@ -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)) {
|
||||||
|
|
Loading…
Reference in a new issue