mirror of
https://github.com/gryf/wmaker.git
synced 2026-01-03 20:34:14 +01:00
Updating to version 0.20.2
Many bug fixes.
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
/* Configurations.c- misc. configurations
|
||||
*
|
||||
* WPrefs - WindowMaker Preferences Program
|
||||
* WPrefs - Window Maker Preferences Program
|
||||
*
|
||||
* Copyright (c) 1998 Alfredo K. Kojima
|
||||
*
|
||||
@@ -127,6 +127,7 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
|
||||
{
|
||||
RImage *icon;
|
||||
char *path;
|
||||
RColor gray = {0xae,0xaa,0xae};
|
||||
|
||||
*icon1 = NULL;
|
||||
*icon2 = NULL;
|
||||
@@ -148,10 +149,11 @@ createImages(WMScreen *scr, RContext *rc, RImage *xis, char *file,
|
||||
free(path);
|
||||
return;
|
||||
}
|
||||
RCombineImageWithColor(icon, &gray);
|
||||
if (xis) {
|
||||
RCombineImages(icon, xis);
|
||||
RCombineImagesWithOpaqueness(icon, xis, 180);
|
||||
if (!(*icon2 = WMCreatePixmapFromRImage(scr, icon, 127)))
|
||||
wwarning(_("could not process icon %s:"), file, RErrorString);
|
||||
wwarning(_("could not process icon %s:"), file, RMessageForError(RErrorCode));
|
||||
}
|
||||
RDestroyImage(icon);
|
||||
free(path);
|
||||
|
||||
Reference in New Issue
Block a user