all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Alan Third <alan@idiocy.org>
To: Aaron Jensen <aaronjensen@gmail.com>
Cc: 28512@debbugs.gnu.org
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	[thread overview]
Message-ID: <20171018195034.GB8705@breton.holly.idiocy.org> (raw)
In-Reply-To: <CAHyO48xwk2SMaA2afQbUxLANHBywFVvLWpUgTX+h+frM+XcZ9g@mail.gmail.com>

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





  parent reply	other threads:[~2017-10-18 19:50 UTC|newest]

Thread overview: 37+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-09-19 15:10 bug#28512: 26.0.60; undecorated frames on macOS 10.13 do not resize properly Aaron Jensen
2017-09-19 15:35 ` Aaron Jensen
2017-09-19 21:34 ` Alan Third
2017-09-19 21:44   ` Aaron Jensen
2017-09-23 14:31     ` Aaron Jensen
2017-09-23 19:11       ` Alan Third
2017-09-23 21:35         ` Aaron Jensen
2017-09-24 11:27           ` Alan Third
2017-09-24 15:43             ` Aaron Jensen
2017-09-24 21:05               ` Alan Third
2017-09-25  0:39                 ` Aaron Jensen
2017-09-25 10:13                   ` Alan Third
2017-09-25 15:18                     ` Aaron Jensen
2017-09-25 16:33                       ` Alan Third
2017-09-25 17:02                         ` Aaron Jensen
2017-10-14 21:47                           ` Aaron Jensen
2017-10-16 10:01                             ` Alan Third
2017-10-16 12:49                               ` Aaron Jensen
2017-10-16 20:46                                 ` Alan Third
2017-10-17  2:50                                   ` Aaron Jensen
2017-10-17  8:58                                     ` Alan Third
2017-10-18 16:08                                       ` Aaron Jensen
2017-10-18 16:12                                         ` Aaron Jensen
2017-10-18 19:32                                           ` Alan Third
2017-10-18 19:50                                         ` Alan Third [this message]
2017-10-19  1:00                                           ` Aaron Jensen
2021-07-25 11:17                                           ` Alan Third
2021-07-25 17:06                                             ` Aaron Jensen
2021-12-22 20:52                                               ` Alan Third
2021-12-23 15:20                                                 ` Aaron Jensen
2021-12-23 16:09                                                   ` Alan Third
2021-12-23 18:19                                                     ` Aaron Jensen
2021-12-28 11:43                                                       ` Alan Third
2021-12-28 16:18                                                         ` Aaron Jensen
2022-01-04 10:58                                                           ` Alan Third
2017-10-17  8:59                                   ` martin rudalics
2017-10-17 16:06                                     ` Aaron Jensen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20171018195034.GB8705@breton.holly.idiocy.org \
    --to=alan@idiocy.org \
    --cc=28512@debbugs.gnu.org \
    --cc=aaronjensen@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.