From: Gerd Möllmann Date: Tue, 28 Jan 2025 03:37:56 +0000 (+0100) Subject: Fix frame-visible-p for tty root frames X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=852dfe9ab51b77eec5934abfe9cb50f58864e137;p=emacs.git Fix frame-visible-p for tty root frames * src/frame.c (Fframe_visible_p): Don't unconditionally return t for tty root frames. (cherry picked from commit d60198d7a49acd8cd2c250625ac57deef484cee2) --- diff --git a/src/frame.c b/src/frame.c index f2d47d9bc51..29f270e0bc3 100644 --- a/src/frame.c +++ b/src/frame.c @@ -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;