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: Alan Third
Subject: bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly
Date: Wed, 18 Oct 2017 20:50:34 +0100
User-agent: Mutt/1.9.0 (2017-09-02)

On Wed, Oct 18, 2017 at 09:08:52AM -0700, Aaron Jensen wrote:
> On October 17, 2017 at 1:59:03 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> > 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.

Hmm, I take it these are not part of Emacs? The diagonal resizing
should work, we just don’t have diagonal arrows because the ones macOS
uses are undocumented.

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

I’d rather not, to be honest. The below option seems better where it’s
supported, especially if borderless windows are deprecated.

> > 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’ve seen this, and actually gave NSWindowStyleMaskFullSizeContentView
a go, but I get a pile of errors and input breaks. I think it’s maybe
something to do with layers, which I’ve yet to read up on.

-- 
Alan Third





reply via email to

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