So I decided to just stick with X and not bother with Wayland until at least 2023-2024, and of course I would like X to still work in the meantime and it probably will.
When Wayland was born you couldn't do anything to prevent that, now we have like 6 sandboxing/light-virtualization options for Linux, so I suspect that by containerizing applications in Xorg you could prevent them from keylogging easily. That too right now is mostly crappy and fragmented in Linux with the AppImage Snap and flatpak circus.
And no, I don’t think you can really do that with x11. There was Trusted X11 long time ago, but I don’t think it was practically useful - as in, maintainable and sustainable.
As far as I understand sandboxing in Linux is “70% there” - it will get there eventually, but for now the 30% hole makes it not practically useful. It’s not bad at pretending it’s doing something though, and for (many? most?) paying customers that’s enough.
What a ridiculous argument. In X11 you don't even need to preload a library to do it is the bloody point.
Nor will I give a shit about Wayland until OpenBSD forks it, audits it to within an inch of its miserable life, and incorporates it into its base distribution to replace Xenocara.
Why should we let GNOME keep us from moving on to newer tech?
Edit: In case you want to know why X11 is janky and bad, check out this architecture overview: https://wayland.freedesktop.org/architecture.html