Mekeor Melire <meke…@posteo.de> writes:
> 2025-10-18 10:28 nuno…@invalid.invalid: >
>> What about X11-enabled builds with "no" in the toolkit option, >> what do these use?
> > Oh, that's a good question. I'd need to do some research to find > the answer...
I am a year late but I figure I'd chime in since I've been running --without-x-toolkit builds for the past 25 years or so. When built this way Emacs does everything directly using Xlib calls, this includes window creation and drawing primitives using calls like XFillRectangle(). The --without-x-toolkit GUI elements are quite basic so running Emacs in this mode mostly make sense if you want to disable scrollbars and the like anyway. Otherwise it works great and it can still display images, draw svg or use Xft or Cairo if you want modern font rendering. One big advantage of such a build compared to the Gtk one is that it can survive an X11 disconnect or server crash. Gtk had a very long standing bug where it was impossible to gracefully handle a server disconnect. This is important if you like to keep your Emacs sessions around for weeks or months or if you attach to multiple displays from the same session.