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: Mon, 16 Oct 2017 21:46:31 +0100
User-agent: Mutt/1.9.0 (2017-09-02)

On Mon, Oct 16, 2017 at 08:49:07AM -0400, Aaron Jensen wrote:
> On October 16, 2017 at 3:01:14 AM, Alan Third
> (alan@idiocy.org(mailto:alan@idiocy.org)) wrote:
> 
> > > 1. Is it possible to create the first frame with undecorated set?
> >
> > So create the window undecorated, then immediately switch it to
> > decorated?
> 
> What I meant was how do I start emacs while telling it to create its
> initial frame undecorated if that’s my desire. Setting
> `initial-display-alist` to include `(undecorated . t)` in `init.el`
> seems to be insufficient, because the frame appears to be created
> prior to `init.el` being eval’d.

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

> > > 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?

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?

-- 
Alan Third

Attachment: undecorated.patch
Description: Text document


reply via email to

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