bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize prop


From: Aaron Jensen
Subject: bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly
Date: Mon, 16 Oct 2017 19:50:50 -0700

On October 16, 2017 at 1:46:36 PM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> I don’t know for sure, but suspect the answer is that you can’t do
> that.

Ok, too bad.

> > > > 2. Would it be difficult to recreate the NSWindow housing the frame
> > > > when that frame parameter is changed?
> > >
> > > I’m not sure. I’ll have to go and have a look.
>
> Before I try coding this up, can you try a couple of things for me?
>
> It could be that changing individual bits of styleMask is the wrong
> way to do things, so can you please try the attached patch?

For some reason the patch didn’t apply, but I applied it manually. It
did not change the problem.

> If it doesn’t work can you change FRAME_UNDECORATED_FLAGS back to:
>
> #define FRAME_UNDECORATED_FLAGS NSWindowStyleMaskBorderless
>
> and see if you can resize the frame using lisp?

I can resize the frame with set-frame-size when using only borderless
and it does not break the mouse events. I can’t resize with the mouse
in this case, however and adding the resizable style back puts me
right back in the broken situation.

According to George Nachman (author of iTerm2):

> I'd say to file a radar but borderless windows are deprecated so I’d
> only expect them to get worse. I guess Apple would prefer that you
> use NSFullSizeContentViewWindowMask. Plus then you get a shadow and
> rounded corners.

Unfortunately, it behaves the same as borderless when there’s no title
(bug included). As far as I can tell, the only way to get a resizable
borderless window is to create it as such from the beginning :(

Aaron





reply via email to

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