...because now that window.button.height determines the height of button
hover effect the visible appearance of the titlebar will change unless
we reduce the padding to zero.
Backward compatibility notice: If a users theme sets padding.height to a
value greater than zero, the titlebar will be taller compared with
openbox. This can be fixed by either reducing window.button.height or
overriding padding.height
*padding.height*
Vertical padding size, in pixels, used for spacing out elements
in the window decorations.
- Default is 3.
+ Default is 0.
*menu.items.padding.x*
Horizontal padding of menu text entries in pixels.
# general
border.width: 1
padding.width: 0
-padding.height: 3
+padding.height: 0
# window border
window.active.border.color: #e1dedb
theme_builtin(struct theme *theme, struct server *server)
{
theme->border_width = 1;
- theme->padding_height = 3;
+ theme->padding_height = 0;
theme->title_height = INT_MIN;
theme->menu_overlap_x = 0;
theme->menu_overlap_y = 0;