Open tonsky opened 3 years ago
I'd love to spearhead this if this is still desired! 😁
It is! It would be awesome. Let me know what you need to get started
Sure! Just wondering how we should set this up in the repository - I'm thinking:
linux
to xorg
wayland
folder with same structureDoes this sound reasonable?
should it be xorg or x11? I think we use x11 sometimes in the code base, do you think it should be changed? or better stick with x11, as we already have it?
re: CMake, the question I’m more interested in is, should we build two different runtime libraries or a single one? If two, would we be able to determine at runtime which one to load?
Also, not sure if we need separate build for cmake, since it’s only for build machine. We could require both X11 and Wayland dev dependencies to exist at the same time. Up to you on this one
We can just check at runtime whether (1) wayland dependencies are available to dynamically link with and (2) whether a wayland server is present and fall back to X if either of those fail
Sounds like a plan!
I want to flag some issues for anyone considering implementing wayland
Would be very cool to support it natively! Thanks for all the work
Assembled from https://twitter.com/nikitonsky/status/1417154031470927876