I understand that Wayland doesn't support Xlib function calls. What are the options for those of us who rely on C code which which uses Xlib for 2d graphics and event handling? If I have to switch to e.g. GTK, I'd not only have to rewrite all the Xlib calls, but all the code which depends on this, as Xlib and GTK do graphics ad events quite differently.
Ariadne Conill is turning Xwayland into a full X11 replacement: https://github.com/kaniini/wayback. She doesn't want to maintain it long-term, so if you're interested in contributing, please do: the more people understand the codebase, the better.