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: Sun, 24 Sep 2017 17:39:05 -0700

On September 24, 2017 at 2:05:52 PM, Alan Third
(address@hidden(mailto:address@hidden)) wrote:

> On Sun, Sep 24, 2017 at 08:43:52AM -0700, Aaron Jensen wrote:
> So, can you try putting
>
> [win setIgnoresMouseEvents:NO];
>
> in initFrameFromEmacs in nsterm.m, somewhere around line 7222. It
> should be after ‘win’ is set, but doesn’t really matter too much
> where.

That didn’t help.

> > If it weren’t for iTerm2, I’d think that they somehow broke
> > borderless windows entirely, but iTerm2 seems to resize properly…
>
> Yeah, and similarly I’d expect to see some discussion online about it
> if it was an apple bug. It’s probably the way we’re doing something,
> our code can be a bit unusual at times.

I may have something. If the initial frame is created with undecorated
set from the beginning, it works. Likewise if you create a new frame
after:

(add-to-list 'default-frame-alist '(undecorated . t))

So, the problem may have something to do with transitioning from a
decorated frame to an undecorated frame. I remember seeing something
in the iterm2 code about recreating windows in certain instances, but
I don’t remember where I saw that.

Aaron





reply via email to

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