1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-26 08:22:37 +01:00

fixed bug with icons of different sizes

made Apply work in window inspector for windows with no WM_CLASS
This commit is contained in:
kojima
2000-01-20 11:51:42 +00:00
parent ae354fc758
commit 34cd5125e3
22 changed files with 1101 additions and 707 deletions

View File

@@ -399,7 +399,7 @@ wIconValidateIconSize(WScreen *scr, RImage *icon)
if (!icon)
return NULL;
#ifndef DONT_SCALE_ICONS
if (wPreferences.icon_size != 64) {
w = wPreferences.icon_size * icon->width / 64;
h = wPreferences.icon_size * icon->height / 64;
@@ -408,6 +408,7 @@ wIconValidateIconSize(WScreen *scr, RImage *icon)
RDestroyImage(icon);
icon = tmp;
}
#endif
#if 0
if (icon->width > wPreferences.icon_size
|| icon->height > wPreferences.icon_size) {