emacs-devel
[Top][All Lists]
Advanced

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

Re: src/nsterm.m: fix window tabbing on macOS


From: Alan Third
Subject: Re: src/nsterm.m: fix window tabbing on macOS
Date: Fri, 28 May 2021 09:54:53 +0100

On Fri, May 28, 2021 at 10:36:07AM +0200, martin rudalics wrote:
> >> What do s-n and s-w do (which emacs function do they ultimately call)?
> >>
> >>> Repeat steps 3 and 4 few times, note how the frame height is increased.
> >
> > s-n (make-frame)
> > s-w (delete-frame)
> 
> Hmm...  Then "the frame height" refers to the height of different
> frames?  Does it always increase by the same amount?  Does it ever stop
> to do that?

Without having looked at it at all I'd imagine the problem is that the
tab-bar is an extra toolbar below the Emacs toolbar which we will need
to take into account when calculating the size of the various
components.

For example, IIRC, the height of the Emacs toolbar is calculated as
the height of the OS window minus the height of the Emacs view and the
titlebar. This is clearly not going to be right when we have an extra
widget in there.
-- 
Alan Third



reply via email to

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