Okay, Wayland is the future, blah blah.
Would it be possible/make sense to make a Wayland compositor that would emulate a X11 server so a X11 WM could talk to it and be used to manage windows?
I’m just thinking about how we could make sure that the tons of obscure but cool WMs survive the waypocalypse.
We have kind of something like that with XWayland.
Interesting read at topic https://wayland.freedesktop.org/docs/html/ch05.html
There is also rootless mode.
That’s the toolbox we have right now. To make existing X11 window manager work exactly as before on Wayland would be another level. And why we? It would make Wayland way more complex than it is and if we want to use old software anyway, why do we develop Wayland at all? (The “WE” is not me, i’m speaking for devs.)
Some existing X11 window manager are already working on XWayland (think of Qtile) or are ported over right now. The simple ones could be rewritten from scratch, even if its not exactly the same (think of Sway). There will be some left. But that’s okay. Window manager itself are not hugely complex and different from each other, only a few logic and the language differs greatly. We have already lot of variety. It’s not like we would leave KDE or Gnome behind.
My opinion: We don’t need to make Wayland even more complicated (for Wayland devs and for compositor and app devs), just for a few legacy tools.
I don’t think Qtile works off XWayland. IIRC, it’s a proper rewrite using pywlroots.