mirror of
https://github.com/labwc/labwc.git
synced 2026-03-11 05:33:49 -04:00
decorations: refactor view_set_decorations
This commit is contained in:
parent
bab1be834d
commit
a0debda142
8 changed files with 88 additions and 51 deletions
|
|
@ -599,7 +599,11 @@ xdg_toplevel_view_map(struct view *view)
|
|||
|
||||
init_foreign_toplevel(view);
|
||||
|
||||
view_set_decorations(view, has_ssd(view));
|
||||
if (has_ssd(view)) {
|
||||
view_set_ssd_mode(view, LAB_SSD_MODE_FULL);
|
||||
} else {
|
||||
view_set_ssd_mode(view, LAB_SSD_MODE_NONE);
|
||||
}
|
||||
|
||||
/*
|
||||
* Set initial "pending" dimensions (may be modified by
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue