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

From: Carlos Pita <[email-masked]>
Date: Sun, 1 Jul 2018 15:08:54 -0300

Moving to a more manual approach I find a new problem: at least under
gnome undecorating the frame makes it lose its focus.

(global-set-key (kbd "C-x t")
        (lambda () (interactive)
          (set-frame-parameter nil 'undecorated
                       (not (frame-parameter nil 'undecorated)))))