emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: About the new frame title


From: Stefan Kangas
Subject: Re: About the new frame title
Date: Sat, 19 Sep 2020 13:21:25 +0000

Angelo Graziosi <angelo.g0@libero.it> writes:

>> > When I start Emacs clicking the icon on the task bar, its frame for less 
>> > than a second is squared (its default size?) then assume the size 
>> > following the above code.
>> >
>> > When it is squared, the frame title is still "emacs@myPC", only when it 
>> > assume the final size it take the new frame title (buffer - GNU Emacs at 
>> > ...)
>>
>> Yes, because the GUI frame initialization code writes the old string
>> to the frame's title.  See the initialization routines in the
>> xterm.c/w32term.c etc. (for example, in xterm.c, look in x_term_init).
>>
>> Is that bad? given that we also momentarily flash the "wrong"
>> dimensions of the frame?
>
> I don't know ... If the decision to change the frame title has been taken, 
> one would expect that the old string goes away too, for coherence. After all, 
> the old string just flashes.

We might as well try to fix it up a bit.  How does the attached patch
look?  Angelo, could you please help test it?

(Untested on MS Windows.)

Attachment: 0001-Make-initial-frame-title-match-frame-title-format.patch
Description: Text Data


reply via email to

[Prev in Thread] Current Thread [Next in Thread]