Fix frame-visible-p for tty root frames

* src/frame.c (Fframe_visible_p): Don't unconditionally return t for tty
root frames.
This commit is contained in:
Gerd Möllmann 2025-01-28 04:37:56 +01:00
parent 1f1088188e
commit d60198d7a4

View 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;