mirror of
https://github.com/labwc/labwc.git
synced 2025-11-11 13:30:04 -05:00
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:
parent
943f5751ee
commit
888dbedeed
6 changed files with 25 additions and 0 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue