(make_terminal_frame): Use Emacs, Emacs-2, ... as name.
This commit is contained in:
parent
03b294dcb0
commit
3f0052565f
1 changed files with 9 additions and 2 deletions
11
src/frame.c
11
src/frame.c
|
@ -353,9 +353,16 @@ make_terminal_frame ()
|
|||
Vframe_list = Fcons (frame, Vframe_list);
|
||||
|
||||
terminal_frame_count++;
|
||||
sprintf (name, "terminal-%d", terminal_frame_count);
|
||||
if (terminal_frame_count == 1)
|
||||
{
|
||||
f->name = build_string ("Emacs");
|
||||
}
|
||||
else
|
||||
{
|
||||
sprintf (name, "Emacs-%d", terminal_frame_count);
|
||||
f->name = build_string (name);
|
||||
}
|
||||
|
||||
f->name = build_string (name);
|
||||
f->visible = 1; /* FRAME_SET_VISIBLE wd set frame_garbaged. */
|
||||
f->async_visible = 1; /* Don't let visible be cleared later. */
|
||||
f->display.nothing = 1; /* Nonzero means frame isn't deleted. */
|
||||
|
|
Loading…
Add table
Reference in a new issue