diff --git a/src/ssd/ssd-titlebar.c b/src/ssd/ssd-titlebar.c index 91be8717..8591759a 100644 --- a/src/ssd/ssd-titlebar.c +++ b/src/ssd/ssd-titlebar.c @@ -609,7 +609,7 @@ ssd_update_window_icon(struct ssd *ssd) */ int hpad = theme->window_button_width / 10; int icon_size = MIN(theme->window_button_width - 2 * hpad, - theme->title_height - 2 * theme->window_titlebar_padding_height); + theme->window_button_height); /* * Load/render icons at the max scale of any usable output (at