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

martin rudalics via "Bug reports for GNU Emacs, the Swiss army knife of text editors" <[email protected]>
Newsgroups gmane.emacs.bugs
Message-ID <[email protected]>
 > 1. Add the if check.
 > 2. Create a function unmap_event in pgtkterm.c and hook it up similarly to the existing map_event.
 > 3. Move these two calls from pgtk_make_frame_invisible there.
 >
 > Is that the plan?

It's what I would suggest to try.  Let's see what Yuuki thinks.

 >> pgtk_iconify_frame doesn't set these
 >>
 >>        /* SET_FRAME_VISIBLE (f, 0);
 >>       SET_FRAME_ICONIFIED (f, true); */
 >>
 >> either (x_iconify_frame and x_make_frame_invisible do).
 >
 > Apparently that happens inside the window_state_event handler.

And according to the comment there it can go wrong sometimes.

martin
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.