2 ms·
> You might be better served by actually looking how X11 works, with quirks and what it was originally designed for, I promise you that your hair will stand on
by AshamedCaptain 5y ago
> You might be better served by actually looking how X11 works, with quirks and what it was originally designed for, I promise you that your hair will stand on end.
You are confusing things. Where can you "interfere" with the renderer? What you can do is _replace_ the renderer. This is one extension point Wayland _forces_ on you, so what is your complain exactly?
Manipulating things around using the ways provided for things to be manipulated is not a quirk. The server allows other processes to render to windows they don't own because this is how you implement decorations and the like. The server allows you to read the contents of windows you don't own because this is how you implement screen grabbers and color pickers. The server allows any two processes connected to it to communicate in any way because that is how clipboards and things like that are implemented. This is all by design.
And that is the problem. If all of this was still possible with Wayland (WITHOUT having to patch the compositor), I'm certain there won't be as many complains.
But no; they tried to fix "security" (for some definition of security) at the same time and thus had to spend a decade to see any hint of adoption. And face a lot of resistance.
At least fetch the UNIX haters handbook if you want to see a minimally valid criticism to X...
> but it was known to be easy. Hugely easy.
Still is. Wayland or not. Therefore: Yes, I will downplay this issue.
You would need an even more radical design to make it not trivial on Linux (e.g. passing individual input device descriptors to the process owning the focused window or the like, and then make each process a different user or god knows). Basically: something like Qubes (which used to do it with X11). And then face all the "it's not working!" complains because you break even more things.