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: Wed, 18 Oct 2017 09:08:52 -0700

On October 17, 2017 at 1:59:03 AM, Alan Third
(alan@idiocy.org(mailto:alan@idiocy.org)) wrote:

> > 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.
>
> This is fine, we can live with this.
>
> When you create an undecorated frame you’ll just have to also set the
> frame parameter drag-internal-border to t. Resizing is a bit flickery,
> but it should work as it’s being done through emacs lisp.

I didn’t know about this. That said, it’s not ideal. I don’t think I’d
actually use it because it prevents other applications (like
divvy/hammerspoon/etc) from resizing the frame. I do this w/ keyboard
shortcuts all the time and losing that is a non-starter. It also
doesn’t seem to allow diagonal resizing, which isn’t a huge deal, but
is unfortunate.

If you’re up for coding it, I’d definitely be happy to test out the
recreate-the-frame option.

> There are other things you can do, like making the title invisible and
> turning off the buttons. I’ve not done much experimenting with it
> since it doesn’t work on older macOS versions. It might be worth my
> while putting in the effort, though.

He linked me to this article, which may help:
http://robin.github.io/cocoa/mac/2016/03/28/title-bar-and-toolbar-showcase/

> I didn’t know that borderless windows were deprecated either. I don’t
> remember seeing that mentioned in the documentation. Good to know
> though.

Yeah, I don’t know where he saw that.

Aaron





reply via email to

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