[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: long-standing GTK bug

From: Adam Sjøgren
Subject: Re: long-standing GTK bug
Date: Sat, 08 May 2021 13:51:30 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux)

A long time ago (Wed, 10 Jun 2020), Eli wrote:

> I think someone is working on an Emacs configuration that will support
> only GTK, and that configuration should then be able to do that.

I was intrigued by this, and today checked out the feature/pgtk branch
and compiled Emacs --with-pgtk.

The branch still retains the X connection after the last window is
closed on a second computer, and terminating the ssh-connection with ^C
terminates Emacs.

I.e. what I talked about here:

 · https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg01353.html

However, if I remove the workaround - the if() that sets
terminal->reference_count to 1 in frame.c - and connect to a running
pure GTK Emacs from a different computer displaying a remote X window
using emacsclient, and then close it, Emacs keeps running on the
original screen and GTK does not spew an endless list of warnings.

So the original long standing GTK problem¹ is indeed solved by the pure
GTK branch.



¹ https://lists.gnu.org/archive/html/emacs-devel/2020-05/msg02298.html

 "Ge mig en vinterdrog, ge mig allt du har                  Adam Sjøgren
  Kom nu jag är kroniskt låg, bara mörkret hörs"       asjo@koldfront.dk

reply via email to

[Prev in Thread] Current Thread [Next in Thread]