GNU bug report logs - #31968
26.1.50; Allow to hide title bar on maximize (gtk/gnome/csd)

Previous Next

Package: emacs;

Reported by: Carlos Pita <carlosjosepita <at> gmail.com>

Date: Mon, 25 Jun 2018 20:45:02 UTC

Severity: wishlist

Found in version 26.1.50

Fixed in version 29.1

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


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

From: martin rudalics <rudalics <at> gmx.at>
To: Carlos Pita <carlosjosepita <at> gmail.com>, 
 Jonathan Kyle Mitchell <kyle <at> jonathanmitchell.org>
Cc: 31968 <at> debbugs.gnu.org, Robert Pluim <rpluim <at> gmail.com>
Subject: Re: bug#31968: 26.1.50;
 Allow to hide title bar on maximize (gtk/gnome/csd)
Date: Sun, 01 Jul 2018 11:04:36 +0200
> Bad news: this doesn't work under Cinnamon, only Gnome. I somehow
> assumed it was gtk itself hidding the decoration, but it seems it's
> not working like that.

GTK just manages the settings we request and passes them on to the
window manager.

> Nevertheless I'm more fond of a pure elisp approach like the one
> suggested by Johnathan (hooking from window-size-change-functions). Is
> there anything wrong with that?

Couldn't you try it?  Just check the 'fullscreen' and 'undecorated'
frame parameters there and if they don't match (that is maximized and
decorated or not-maximized and undecorated) set the 'undecorated'
parameter appropriately.  Later on we have to make sure that a per se
undecorated frame does not get decorations when it's demaximized.

I'm afraid you will see some flickering though.

martin




This bug report was last modified 3 years and 26 days ago.

Previous Next


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