🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.emacs
Article #92

Re: Will Emacs support GTK4? Future of Emacs on Wayland?

#92
From: Donio
Date: Fri, 13 Nov 2026 07:11
28 lines
2467 bytes
Mekeor Melire <mekeor@posteo.de> writes:

> 2025-10-18 10:28 nunojsilva@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.
Technical Details
Message-ID: <m38q2xqk7s.fsf@kismala.com>
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
References: <87v7kft6af.fsf@posteo.de> <874irzufr0.fsf@parhasard.net> <10crv4g$38ask$1@dont-email.me> <87347hpqpb.fsf@posteo.de> <10cvmjf$1n4gn$1@dont-email.me> <87ms5lu3o5.fsf@posteo.de>

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-lax.pugleaf.net!srl.newsdeef.eu!news.hispagatos.org!eternal-september.org!feeder.eternal-september.org!nntp.eternal-september.org!.POSTED!not-for-mail
From: Donio <usenet@bogus.invalid>
Newsgroups: comp.emacs
Subject: Re: Will Emacs support GTK4? Future of Emacs on Wayland?
Date: Thu, 12 Nov 2026 23:11:35 -0800
Organization: A noiseless patient Spider
Lines: 28
Message-ID: <m38q2xqk7s.fsf@kismala.com>
References: <87v7kft6af.fsf@posteo.de> <874irzufr0.fsf@parhasard.net>
	<10crv4g$38ask$1@dont-email.me> <87347hpqpb.fsf@posteo.de>
	<10cvmjf$1n4gn$1@dont-email.me> <87ms5lu3o5.fsf@posteo.de>
MIME-Version: 1.0
Content-Type: text/plain
Injection-Date: Fri, 13 Nov 2026 07:11:36 +0000 (UTC)
Injection-Info: dont-email.me;
	logging-data="639290"; mail-complaints-to="abuse@eternal-september.org";	posting-account="U2FsdGVkX185dVfYpFLbKQJ3K5uDVrAy"; posting-host="78421c58676bf67532fcf275437b5bc8"
User-Agent: Gnus/5.13 (Gnus v5.13)
Cancel-Lock: sha1:FlG2oQf92tJ2jPUI17iMhIJwApY=
	sha1:IcCTkTY7tQiIzFn4aDE9xoijRmU= sha256:C179XfmJ7HYPaj6gddwbCZgHa2ahGkea8sn0+6Pha+8=
	sha1:AvDKQ9T3GTGp6khypC5twCfdiCM= sha256:z/tqa+knVrM3VWRY4U6XTH6hiuKSopjXHxQwzyypL2U=