Hacker News new | ask | show | jobs
by embedding-shape 55 days ago
Then I don't see why you'd need libwayland at all? Build only for X11 and it won't try to use Wayland? X11 is enabled by default (wayland is even behind a feature flag), and you can force it with WINIT_UNIX_BACKEND=x11 as well.
1 comments

Unfortunately, Wayland is a default feature in bevy and the only way to not include is too disable default features and manually enable the features you need which requires a very deep understanding of the project (which so far I've not found anyone who fits that description)
Not sure it's that difficult, you remove default-features, take the current list of 75 default features, copy-paste it, remove `wayland` from there, done :)
That sounds very simple. And yet it's apparently not:

https://github.com/bevyengine/bevy/issues/26055