From 852dfe9ab51b77eec5934abfe9cb50f58864e137 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Gerd=20M=C3=B6llmann?= Date: Tue, 28 Jan 2025 04:37:56 +0100 Subject: [PATCH] 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) --- src/frame.c | 2 -- 1 file changed, 2 deletions(-) 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; -- 2.39.5