bug#81014: [PGTK] make-frame-invisible waits out the whole pgtk-wait-for-event-timeout

Dmitry Gutov <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
On 02/08/2026 17:16, Yuuki Harano wrote:
> Where do 2 and 3 come from?

IIUC it's to mirror the setup in existing ports - e.g. xterm.c has 
similar code in its handle_one_xevent.

To account for, IDK, inconsistent state between events? Maybe Martin has 
a better example.

> I like the Gutov's patch in this mail:
> Message-ID:<[email protected]>
> 
> 1. Apply it.
> 2. Add the if check.
> 
> How is that?

I'm happy to try either.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.