Subject: bug#31968: 26.1.50; Allow to hide title bar on maximize (gtk/gnome/csd)

From: Robert Pluim <[email-masked]>
Date: Wed, 27 Jun 2018 15:25:32 +0200

Carlos Pita <[email-masked]> writes:

> One simple possibility is to set/unset
> the _GTK_HIDE_TITLEBAR_WHEN_MAXIMIZED property. I think there is also a
> corresponding gtk api for that but maybe the property could be set using
> standard X machinery already exposed to elisp(?). Probably all this would
> be ineffective under waylan but it's simply enough to fix the problem for X
> with low effort.

This is not quite what you asked for, but have you tried:

(modify-frame-parameters nil '((undecorated t)))

Robert