Wayland - Beyond X (The H)
Wayland - Beyond X (The H)
Posted Feb 14, 2012 22:12 UTC (Tue) by farnz (subscriber, #17727)In reply to: Wayland - Beyond X (The H) by rqosa
Parent article: Wayland - Beyond X (The H)
That's basically what X on Wayland is - another way to look at Wayland is that it's the construction kit to build such an X server, and as we're putting all the bits together, we might as well expose the lower layers so that you can bypass X if you want to.
Wayland's protocol is a spiritual subset of X11 - it's basically clipboard data exchange, input and DRI2, without the rest of the X11 bits. The trouble with building this atop X11 is that the interactions between X11 core protocol and the subset that Wayland provides are nasty (for example, X11 has traditional input events that "know" that you only ever have one mouse position and a set of buttons - what is the "correct" mouse position if you're doing multitouch input? Where did you touch when you make the "zoom in" gesture - the start point? The end point? - noting that "neither" and "both" aren't acceptable answers to core X input), and you have to get them right to truly claim to be "an X server with built-in compositing". The rules around subwindows are another example
Wayland takes it in a different direction - throw away the bits that are hard to implement yet rarely used, and make a Wayland client (the X server) implement them if they're wanted. If network transparency really is a critical feature, someone will step up to implement it - whether by doing the work themselves, or by paying someone such as Red Hat to include it.