mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
parent
9e9c29d7f5
commit
c20c3991c7
2 changed files with 15 additions and 1 deletions
|
|
@ -188,8 +188,14 @@ ssd_create(struct view *view, bool active)
|
|||
ssd->titlebar.height = view->server->theme->title_height;
|
||||
ssd_shadow_create(ssd);
|
||||
ssd_extents_create(ssd);
|
||||
ssd_border_create(ssd);
|
||||
/*
|
||||
* We need to create the borders after the titlebar because it sets
|
||||
* ssd->state.was_tiled_not_maximized which ssd_border_create()
|
||||
* reacts to. TODO: Set the state here instead so the order does
|
||||
* not matter anymore.
|
||||
*/
|
||||
ssd_titlebar_create(ssd);
|
||||
ssd_border_create(ssd);
|
||||
if (view->ssd_titlebar_hidden) {
|
||||
/* Ensure we keep the old state on Reconfigure or when exiting fullscreen */
|
||||
ssd_set_titlebar(ssd, false);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue