[dirty] debug more

This commit is contained in:
Consolatis 2024-03-16 09:29:02 +01:00
parent 9704e66c37
commit 7e0cdf2848

View file

@ -958,6 +958,8 @@ post_processing(struct theme *theme)
{ {
int h = MAX(font_height(&rc.font_activewindow), font_height(&rc.font_inactivewindow)); int h = MAX(font_height(&rc.font_activewindow), font_height(&rc.font_inactivewindow));
if (theme->title_height < h) { if (theme->title_height < h) {
wlr_log(WLR_ERROR, "adjusting title height to %d + 2 * padding_height (%d)",
h, theme->padding_height);
theme->title_height = h + 2 * theme->padding_height; theme->title_height = h + 2 * theme->padding_height;
} }