1
0
mirror of https://github.com/gryf/wmaker.git synced 2026-01-31 13:05:52 +01:00

fixed bug in texture panel

This commit is contained in:
kojima
1999-04-19 00:27:47 +00:00
parent df04a0a157
commit bc0b869ba9
5 changed files with 117 additions and 4 deletions

View File

@@ -689,6 +689,9 @@ freeTexture(BackgroundTexture *texture)
&& pixel[0]!=WhitePixelOfScreen(DefaultScreenOfDisplay(dpy)))
XFreeColors(dpy, DefaultColormap(dpy, scr), pixel, 1, 0);
}
if (texture->pixmap) {
XFreePixmap(dpy, texture->pixmap);
}
free(texture->spec);
free(texture);
}
@@ -1066,6 +1069,8 @@ getValueForKey(char *domain, char *keyName)
return val;
}
char*
getPixmapPath(char *domain)
{