From: Johan Malm Date: Tue, 8 Oct 2024 20:27:19 +0000 (+0100) Subject: ssd: minor logic simplification X-Git-Url: https://git.mdlowis.com/?a=commitdiff_plain;h=707c188975d7602aed928250de68014d5f3275f2;p=proto%2Flabwc.git ssd: minor logic simplification No functional change intended --- 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