fixed bug in texture panel

This commit is contained in:
kojima committed 1999-04-19 00:27:47 +00:00
1 parent df04a0a157
commit bc0b869ba9
5 files changed
+117 -4

No files matched your search

+5
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)
{