mirror of
https://github.com/labwc/labwc.git
synced 2025-11-04 13:30:07 -05:00
parent
206db43786
commit
10f22a8f5b
3 changed files with 40 additions and 6 deletions
|
|
@ -27,6 +27,15 @@ ssd_thickness(struct view *view)
|
|||
}
|
||||
|
||||
struct theme *theme = view->server->theme;
|
||||
|
||||
if (view->maximized) {
|
||||
struct border thickness = { 0 };
|
||||
if (!ssd_titlebar_is_hidden(view->ssd)) {
|
||||
thickness.top += theme->title_height;
|
||||
}
|
||||
return thickness;
|
||||
}
|
||||
|
||||
struct border thickness = {
|
||||
.top = theme->title_height + theme->border_width,
|
||||
.bottom = theme->border_width,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue