ssd: allow hiding titlebar on maximization

<core disableMaximizedServerDecor="yes"> hides the titlebar when a window
is maximized.

Co-authored-by: @CosmicFusion
This commit is contained in:
tokyo4j 2025-08-21 13:56:37 +09:00 committed by Johan Malm
parent 943f5751ee
commit 888dbedeed
6 changed files with 25 additions and 0 deletions

View file

@ -312,6 +312,12 @@ ssd_update_geometry(struct ssd *ssd)
|| ssd->state.was_squared != squared
|| ssd->state.was_omnipresent != view->visible_on_all_workspaces;
/*
* (Un)maximization updates titlebar visibility with
* maximizedDecoration=none
*/
ssd_set_titlebar(ssd, view_titlebar_visible(view));
if (update_extents) {
ssd_extents_update(ssd);
}