6 ms·
Waylands problem is that to use it, you need code generation so the wayland backend kinda hard to design for a header only lib.
by marcthe12 2y ago
Waylands problem is that to use it, you need code generation so the wayland backend kinda hard to design for a header only lib.
- colleagueRiley 2y agoI just have the Makefile do the code generation, it would be annoying for the user, but they can complain to Wayland if they don't like it.
- amjoshuamichael 2y agoI've seen some interesting work in doing Wayland by hand: https://gaultier.github.io/blog/wayland_from_scratch.html https://gaultier.github.io/blog/wayland_from_scratch.html I'd also look at the work done on minimal wayland projects like [foot](https://codeberg.org/dnkl/foot https://codeberg.org/dnkl/foot), which supports wayland well and seems to be written by hand (see: https://codeberg.org/dnkl/foot/src/branch/master/wayland.c https://codeberg.org/dnkl/foot/src/branch/master/wayland.c)