From d60198d7a49acd8cd2c250625ac57deef484cee2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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. --- src/frame.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/frame.c b/src/frame.c index dbed3f940fb..d59b4045c00 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;