]> git.eshelyaron.com Git - emacs.git/commitdiff
Fix frame-visible-p for tty root frames
authorGerd Möllmann <gerd@gnu.org>
Tue, 28 Jan 2025 03:37:56 +0000 (04:37 +0100)
committerEshel Yaron <me@eshelyaron.com>
Thu, 30 Jan 2025 18:08:58 +0000 (19:08 +0100)
* src/frame.c (Fframe_visible_p): Don't unconditionally return t for tty
root frames.

(cherry picked from commit d60198d7a49acd8cd2c250625ac57deef484cee2)

src/frame.c

index f2d47d9bc5144373c8ce664e437c12d51b8bdd64..29f270e0bc35c399c340669b9f8492e5a000b001 100644 (file)
@@ -3299,8 +3299,6 @@ usually not displayed at all, even in a window system's \"taskbar\".  */)
 
   if (FRAME_VISIBLE_P (f))
     return Qt;
-  else if (is_tty_root_frame (f))
-    return Qt;
   if (FRAME_ICONIFIED_P (f))
     return Qicon;
   return Qnil;