mirror of
https://github.com/labwc/labwc.git
synced 2026-02-22 01:40:25 -05:00
theme: rename title_height to titlebar_height
Also removed the redundant initialization of title_height in theme_builtin().
This commit is contained in:
parent
1639919889
commit
9580caf8f8
5 changed files with 21 additions and 22 deletions
|
|
@ -980,7 +980,7 @@ view_cascade(struct view *view)
|
|||
int offset_x = rc.placement_cascade_offset_x;
|
||||
int offset_y = rc.placement_cascade_offset_y;
|
||||
struct theme *theme = view->server->theme;
|
||||
int default_offset = theme->title_height + theme->border_width + 5;
|
||||
int default_offset = theme->titlebar_height + theme->border_width + 5;
|
||||
if (offset_x <= 0) {
|
||||
offset_x = default_offset;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue