kiss-mfavila-small/ports/fvwm-patched/patches/17-MiniIconSize.patch
2021-05-09 03:10:08 -03:00

19 lines
577 B
Diff

diff --unified --recursive --text fvwm-2.6.9/fvwm/ewmh_icons.c fvwm-patched/fvwm/ewmh_icons.c
--- fvwm-2.6.9/fvwm/ewmh_icons.c 2018-05-26 05:35:26.000000000 -0600
+++ fvwm-patched/fvwm/ewmh_icons.c 2020-08-21 16:47:11.016481431 -0600
@@ -714,10 +714,10 @@
if (is_mini_icon)
{
- wanted_w = MINI_ICON_WANTED_WIDTH;
- wanted_h = MINI_ICON_WANTED_HEIGHT;
- max_w = MINI_ICON_MAX_WIDTH;
- max_h = ICON_MAX_HEIGHT;
+ wanted_w = fw->min_icon_width;
+ wanted_h = fw->min_icon_height;
+ max_w = fw->max_icon_width;
+ max_h = fw->max_icon_height;
fpa.mask = 0;
}
else