Skip to content

app: Hide CSD when going fullscreen

Niels De Graef requested to merge wip/nielsdg/hide-csd-on-fullscreen into master

By default, GTK keeps on showing client-side decorations when going fullscreen, as it might contain buttons or other functionality that would be lost. As such, we have to make sure we hide the titlebar.

Getting to that titlebar to update its "visible" property needs a bit of effort, since it's an internal child of the GtkWindow that isn't exposed in any way, so we take a little detour using gtk_container_forall().

Merge request reports