Emacs should become a Wayland compositor
I'm gonna talk to you about "Why and how Emacs should become a Wayland compositor." And it already kinda is a Wayland compositor. If I'm talking about a Wayland compositor or Emacs as Wayland compositor, I mean it in the sense that EXWM is an X window manager. The video of me is a Wayland surface, and it's inside an Emacs window managed by Emacs. First blocker for Emacs becoming a Wayland compositor is that Emacs and Wayland both have their own event loop, and you can't merge them too. Emacs becomes a Wayland client, and there's an extra server Emacs is talking to. We need a minimal Wayland server that does all the stuff Emacs can't do and do the rest in Emacs. The compositor stays in C, but Emacs is now a Wayland window manager! And the last thing is Emacs Wayland buffers.