GNU bug report logs - #25408
Remove Decorations Around Emacs Frame (Windows OS)

Previous Next

Package: emacs;

Reported by: Arthur Miller <arthur.miller.no1 <at> gmail.com>

Date: Mon, 9 Jan 2017 22:21:02 UTC

Severity: wishlist

Done: martin rudalics <rudalics <at> gmx.at>

Bug is archived. No further changes may be made.

Full log


Message #230 received at 25408 <at> debbugs.gnu.org (full text, mbox):

From: martin rudalics <rudalics <at> gmx.at>
To: Alan Third <alan <at> idiocy.org>
Cc: Arthur Miller <arthur.miller.no1 <at> gmail.com>, 25408 <at> debbugs.gnu.org,
 Clément Pit--Claudel <clement.pit <at> gmail.com>,
 Anders Lindgren <andlind <at> gmail.com>
Subject: Re: bug#25408: Remove Decorations Around Emacs Frame (NS port)
Date: Mon, 12 Jun 2017 08:09:03 +0200
> Your explanation made it much clearer what was required. I believe
> I’ve got it sorted now. I’ve attached a patch.

The second part of this comment

 /* --------------------------------------------------------------------------
      Bring window to foreground and make it active
    -------------------------------------------------------------------------- */

seems to be a bit misleading then.

> I’m struggling to find where this should be documented. Any ideas
> which part of the manual covers full‐screen?

The Elisp manual in section 29.4.3.3 Size Parameters.

> macOS uses double‐headed diagonal arrows, but they’re undocumented:
>
>      https://stackoverflow.com/questions/27242353/cocoa-predefined-resize-mouse-cursor

In NSCursor.h I can find these

+ (id)_windowResizeNorthWestSouthEastCursor;
+ (id)_windowResizeNorthEastSouthWestCursor;

But there I see also

+ (id)_windowResizeSouthWestCursor;
+ (id)_windowResizeSouthEastCursor;
+ (id)_windowResizeNorthWestCursor;
+ (id)_windowResizeNorthEastCursor;

so NS apparently can implement both, the X and the Windows ones.

> GNUStep doesn’t implement them and doesn’t seem to have any
> equivalent.
>
> On macOS we can actually make undecorated frames resizable quite
> easily just by including the resizable style mask. GNUstep doesn’t
> like that, of course.

I added code for manual mouse-moving and -resizing of frames because
under X there's apparently no support to do that for child frames.
Since the Windows API provides such support I have to find some
substitute on X and want to make that as uniform as possible for other
platforms as well.

martin





This bug report was last modified 7 years and 314 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.