[[!meta title="Emacs should become a Wayland compositor"]] [[!meta copyright="Copyright © 2022 Michael Bauer"]] [[!inline pages="internal(2022/info/wayland-nav)" raw="yes"]] # Emacs should become a Wayland compositor Michael Bauer[[!sidebar content=""]] (IRC: permcu, ) [[!inline pages="internal(2022/info/wayland-before)" raw="yes"]] Since Emacs learned wayland last year, it can now become a wayland compositor. Emacs is already a great window manager. Let us embrace this in the wayland future, where managers become compositors. In this short talk I would like to convince you that this is a good idea and get you exciting about the possibilities. I then outline how to go about implementing this idea. Afterwards I would very much like to get a discussion started together. Discussions: - # Discussion ## Notes - Call to action - let Michael know if you know anyone else working on something like this so they can collaborate and not duplicate effort. - Site (coming soon): perma-curious.eu ## Questions and answers - Q: Are you using it as a replacement of EXWM? - A: No, not yet, but I\'m planning to. - Q:Is this testable? - A: - Q: Have you considered contributing it to emacs core?  - A: - Q:Question: this is wayland compositor in Emacs? What different with XReprarent in X11 ? - A:No, I planned it, but no. Does not handle file descriptors. It\'s a compositor that talks to Emacs. etc. I don\'t know what XReparent is; have to skip that. - Q:What does it mean for emacs to be \"a wayland compositor\"? What can the end users do with it? - A: - Q: How would multiple monitors be handled? Separate Frames? - A: - Q:  Could you make it so you can restart emacs without loging out; or switch to non emacs buffers while emacs is blocking: these are the biggest issues with EXWM? Maybe in the future with a different ui for non emacs buffers. - A:  - Q:Did this project can implement \*mirror\* of buffer for Emacs different window? - A: - Q:How does the single-threaded affects the project? - A: - Q:this technology need write wayland server? Can it works with Gnome3 ? - A: - Q: Could there be a emacs-wayland-server and just connect with emacsclient? - A: - Q: When you share your code, could you provide the equivalent of an .xsession script for those who are on EXWM and want to test? - A: - Q: there have a demo to show this emacs-wayland-compositor, even it buggy now? Just curious. ;) - A: - Q: So the current limitation is that buffer mirroring doesn\'t respect different widths/heights? - A:(answered - transcript tbd) - Q:Could you use some of this package with other walyand compositers \"probably not all of it\" , sway, kde, river, gnome. - A:(answered - transcript tbd) - Q:Will Wayland support reach feature parity with EXWM in the future? Will there be other tradeoffs? - A:(answered - transcript tbd) - Q: What is the biggest difference between Xorg and wayland that you have found? - A:(answered - transcript tbd) - Q: Did you know EAF ?  [[!inline pages="internal(2022/info/wayland-after)" raw="yes"]] [[!inline pages="internal(2022/info/wayland-nav)" raw="yes"]]