From 707c188975d7602aed928250de68014d5f3275f2 Mon Sep 17 00:00:00 2001 From: Johan Malm Date: Tue, 8 Oct 2024 21:27:19 +0100 Subject: [PATCH] ssd: minor logic simplification No functional change intended --- src/ssd/ssd-titlebar.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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