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: Wed, 9 Jun 2021 09:48:21 +0100

On Wed, Jun 09, 2021 at 10:35:07AM +0200, martin rudalics wrote:
> > The fact that when you enable and disable the toolbar the frame size
> > changes is also something I can't explain because Appkit doesn't even
> > give Emacs a chance to set the frame size, it just does it and it even
> > animates the change for us, and lets us know it's been done after the
> > event. Perhaps we've got something set somewhere that says that the
> > NSView can't be resized by Appkit? I don't know, I'm not aware of any
> > setting like that.
> 
> If you just used
> 
>   adjust_frame_size (f, -1, -1, 5, false, Qtool_bar_lines);
> 
> in ns_set_tool_bar_lines would that change anything?

It doesn't make any difference to the frame resizing, but does make
the window display as a tiny 2x2 character block in the top left of
the frame, so I'm not sure it's doing what you intended.
-- 
Alan Third



reply via email to

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