5 ms·
There a discussion on the mailing list about pulling GTK support out into its own front end (like mswin or ns) that never uses X directly. This would allow simp
by NoGravitas 10y ago
There a discussion on the mailing list about pulling GTK support out into its own front end (like mswin or ns) that never uses X directly. This would allow simplifying the X front-end, and also running graphical emacs on a pure Wayland system.
I wonder if something analogous this hack would be required in the new GTK front-end.
- jabl 10y agoSo for those of us not in the inside loop, what does "pulling out into its own frontend" mean? Also, are the Xt and motif versions still maintained? Surely the user base of those must be pretty close to 0 these days?
- quotemstr 10y agoYou'd be surprised how many people use non-GTK X11 Emacs. The reasons they give include being able to connect and disconnect from multiple X servers (GTK has longstanding unfixed bugs here) and being generally lighter on the system than GTK is. "Pulling [GTK] out into its own frontend" means taking GTK support out of where it is now, Emacs' general-purpose X11 code (where GTK is one of many supported X11 toolkits) and putting it in a new top-level window-system that's a peer of NS (for OS X) and Windows support. The new GTK window system wouldn't be allowed to use X11 functions directly. Under this architecture, Emacs would be much closer to a well-behaved GTK program and could take advantage of cool GTK tricks like Broadway support.
- cm3 10y agoI am one of those X11-only, no-toolkit Emacs users. The only times I need gtk support is when I run a variant build with gtk3 support in order to have a native Wayland window which doesn't require Xwayland. But I primarily use X11 so the no-toolkit, X11-only build.
- audidude 10y agoIt does X11 specific calls unconditionally, so it is not currently possible to run emacs as a native Wayland client.
- quotemstr 10y agoOne of the big advantages of the new GTK-only backend I propose in [1] is the ability to use non-X GTK back-ends, like Wayland and Broadway. But SHTDI. Volunteering? [1] https://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00956.html https://lists.gnu.org/archive/html/emacs-devel/2016-10/msg00...
- audidude 10y agoI already spend most of my day writing an IDE (GNOME Builder) and making it Wayland ready out of the box. However, I am responsive on #gtk+ answering questions to people working on this.
- rjsw 10y agoI'm using a Motif build of emacs. I use mwm too so there is only one toolkit in memory.