Mercurial > emacs
changeset 20039:83d32ee54f68
(decode_mode_spec): Display non-nil title as the frame's
name only on FRAME_WINDOW_P frames.
author | Eli Zaretskii <eliz@gnu.org> |
---|---|
date | Mon, 13 Oct 1997 17:08:02 +0000 |
parents | bb460edc7187 |
children | 94f90d47cff1 |
files | src/xdisp.c |
diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xdisp.c Mon Oct 13 16:57:32 1997 +0000 +++ b/src/xdisp.c Mon Oct 13 17:08:02 1997 +0000 @@ -4309,7 +4309,10 @@ case 'F': /* %F displays the frame name. */ - if (!NILP (f->title)) + /* Systems that can only display a single frame at a time should + NOT replace the frame name with the (constant) frame title, + since then they won't be able to tell which frame is that. */ + if (FRAME_WINDOW_P (f) && !NILP (f->title)) return (char *) XSTRING (f->title)->data; if (f->explicit_name || ! FRAME_WINDOW_P (f)) return (char *) XSTRING (f->name)->data;