1
0
mirror of https://github.com/gryf/wmaker.git synced 2025-12-20 12:58:08 +01:00

Update for 0.51.0

This commit is contained in:
dan
1999-01-25 19:06:50 +00:00
parent 3aeb1eb052
commit 416e3a82be
238 changed files with 24235 additions and 11473 deletions

View File

@@ -132,11 +132,11 @@ wFreeFont(WFont *font)
int
wGetColor(WScreen *scr, char *color_name, XColor *color)
{
if (!XParseColor(dpy, scr->colormap, color_name, color)) {
if (!XParseColor(dpy, scr->w_colormap, color_name, color)) {
wwarning(_("could not parse color \"%s\""), color_name);
return False;
}
if (!XAllocColor(dpy, scr->colormap, color)) {
if (!XAllocColor(dpy, scr->w_colormap, color)) {
wwarning(_("could not allocate color \"%s\""), color_name);
return False;
}
@@ -151,6 +151,6 @@ wFreeColor(WScreen *scr, unsigned long pixel)
unsigned long colors[1];
colors[0] = pixel;
XFreeColors(dpy, scr->colormap, colors, 1, 0);
XFreeColors(dpy, scr->w_colormap, colors, 1, 0);
}
}