Subject: bug#75056: 31.0.50; tty-child-frames with server / multiple clients possible hangs

From: martin rudalics <[email-masked]>
Date: Sun, 26 Jan 2025 10:13:37 +0100

>> So it is still true that a frame other than the top frame returns t
 >> from frame-visible-p, right?  Here's the recipe:
 >>
 >>    emacs -Q -nw
 >>    C-x 5 b RET
 >>    M-: (frame-visible-p (next-frame)) RET
 >>     => t
 >>
 >> This is different from GUI frames, in that z-order is not considered
 >> on TTYs.
 >
 > That looks like a bug to me. I think it should return nil. (Although I'm
 > never 100% sure with the frame code.) Opinions?

The doc-string of 'make-frame-invisible' says that

   This function has no effect on text terminal frames.  Such frames are
   always considered visible, whether or not they are currently being
   displayed in the terminal.

martin