Hi,
On 12 November 2026 23:11 Donio, wrote:
> 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.
I usually build with `--with-x-toolkit=lucid'
After reading your message, I just built with `--without-x-toolkit', so
far the only noticeable difference is how the menus look. So, I think
I'll keep this change :)
Best regards,
Matto