diff options
| author | Gerd Möllmann | 2025-01-28 04:37:56 +0100 |
|---|---|---|
| committer | Gerd Möllmann | 2025-01-28 04:39:59 +0100 |
| commit | d60198d7a49acd8cd2c250625ac57deef484cee2 (patch) | |
| tree | dee20600716b048b90304abf25d64f58d3f7243b | |
| parent | 1f1088188e8b9319f60141a093431f1f85c2b03c (diff) | |
| download | emacs-d60198d7a49acd8cd2c250625ac57deef484cee2.tar.gz emacs-d60198d7a49acd8cd2c250625ac57deef484cee2.zip | |
Fix frame-visible-p for tty root frames
* src/frame.c (Fframe_visible_p): Don't unconditionally return t for tty
root frames.
| -rw-r--r-- | src/frame.c | 2 |
1 files changed, 0 insertions, 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\". */) | |||
| 3299 | 3299 | ||
| 3300 | if (FRAME_VISIBLE_P (f)) | 3300 | if (FRAME_VISIBLE_P (f)) |
| 3301 | return Qt; | 3301 | return Qt; |
| 3302 | else if (is_tty_root_frame (f)) | ||
| 3303 | return Qt; | ||
| 3304 | if (FRAME_ICONIFIED_P (f)) | 3302 | if (FRAME_ICONIFIED_P (f)) |
| 3305 | return Qicon; | 3303 | return Qicon; |
| 3306 | return Qnil; | 3304 | return Qnil; |