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


View this message in rfc822 format

From: Alan Third <alan <at> idiocy.org>
To: martin rudalics <rudalics <at> gmx.at>
Cc: Arthur Miller <arthur.miller.no1 <at> gmail.com>, 25408 <at> debbugs.gnu.org, Clément Pit--Claudel <clement.pit <at> gmail.com>
Subject: bug#25408: Remove Decorations Around Emacs Frame (Windows OS)
Date: Wed, 12 Apr 2017 18:38:58 +0100
On Sat, Feb 11, 2017 at 03:27:36PM +0100, martin rudalics wrote:
> 
> To remove a frame's decorations, use the frame parameter `undecorated'
> as in
> 
> (set-frame-parameter nil 'undecorated t)
> 
> To give that frame back its decorations use
> 
> (set-frame-parameter nil 'undecorated nil)
> 
> To make a new frame undecorated use
> 
> (make-frame '((undecorated . t)))

Hi Martin, this is really good.

I’ve got this semi‐working in the NS port, but I have a strange
problem, and I want to check it’s not intentional.

Should an undecorated frame be resizable? ie. if you run something
like

    (set-frame-size nil 20 20)

would you expect the frame to resize?

Mine currently resizes if the frame was created with decorations and
they were removed, but not if it was created without them. I suspect
creating it without decorations is breaking some NS → Emacs event
path.

Thanks!
-- 
Alan Third




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.