mirror of
https://github.com/gryf/wmaker.git
synced 2025-12-19 12:28:22 +01:00
get_wwindow_image_from_x11 icon resize
The icon size should be set when the icon is created. Therefore the icon size for net_icon_image should be set at get_wwindow_image_from_x11(), function that creates the image.
This commit is contained in:
committed by
Carlos R. Mafra
parent
af41673dbf
commit
448a68c6d2
@@ -449,6 +449,10 @@ static RImage *get_wwindow_image_from_x11(WWindow *wwin)
|
||||
image = makeRImageFromARGBData(data);
|
||||
|
||||
XFree(property);
|
||||
|
||||
/* Resize the image to the correct value */
|
||||
image = wIconValidateIconSize(image, wPreferences.icon_size);
|
||||
|
||||
return image;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user