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:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user