On Mon, Feb 19, 2024 at 01:57:15PM -0600 I heard the voice of Quentin Barnes, and lo! it spake thus: > > I've heard this. But I've also see discussions on "best window > managers for Wayland", so I'm not really sure how to take that. > > I would assume it's because of how Wayland compositors also have the > job of WMs, so the old roles from the X11 world just don't map > cleanly to Wayland.
It's my understanding that it works out that a "Wayland compositor" subsumes the "window manager" functions, but also includes something like the upper half of the X server too. So, "porting" to Wayland basically means reimplementing a lot of the X server in your WM. My suspicion would be that building something new that acted ctwm-ish on top of some existing wayland thing (e.g., wlroots, but from what I've heard such things really _aren't_ as flexible and easy to build what you want on as the sales story says), would be a more profitable route than trying to pile all that into our codebase as-is. The dearth of other wm ports seems to support that. I believe there's at least a living community of tiling WM fans that have enough mass to be doing some stuff on Wayland; that might be a place to look for something that could be strongarmed into acting more floating-ish. Also I think Wayland is all-in on client-side decorations, so all the framing and reparenting wouldn't fit so well there either. Though I'm certainly not a Wayland expert. Maybe it's easier than I think. Well... it probably can _only_ be easier than I think ;) As far as Xwayland, I'd start out guessing that ctwm would run on it OK, but that probably wouldn't help you with much. I believe Xwayland is basically Xnest or the like (except rootless), letting you run X apps on your Wayland desktop. So even if everything works right, ctwm there could only ever manage those X windows, not the native Wayland ones. And if all the other clients you're running are X11 anyway, then you wouldn't need to be running Wayland in the first place. -- Matthew Fuller (MF4839) | [email protected] Systems/Network Administrator | http://www.over-yonder.net/~fullermd/ On the Internet, nobody can hear you scream.
