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.

  • theshatterstone54
    link
    fedilink
    arrow-up
    4
    ·
    3 months ago

    None of them are particularly complex

    Points to AwesomeWM and its lua lain libraries that will all need to be rewritten for Wayland.

    • Max-P@lemmy.max-p.me
      link
      fedilink
      arrow-up
      2
      arrow-down
      2
      ·
      3 months ago

      I haven’t looked into it particularly deep but it’s not like there’s a ton of stuff a WM can possibly do unless the code base is littered with raw X11 calls everywhere.

      Most of the window placement and tiling logic shouldn’t be tied directly to X11 and only a small part of it should really be interacting with X11 to place and size windows. So one should target that intermediate spot that makes all the X11 calls.

      And if the code is too shit to port, it probably deserves to die.