projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver]
/
hacks
/
anemone.c
diff --git
a/hacks/anemone.c
b/hacks/anemone.c
index f69e0967f1354a29cb592eae9b2f16c4651f7e11..27af01303fec8266c7cafaf95f4cabac39a8d3f0 100644
(file)
--- a/
hacks/anemone.c
+++ b/
hacks/anemone.c
@@
-211,7
+211,8
@@
anemone_init (Display *disp, Window window)
st->ncolors = get_integer_resource (st->dpy, "colors", "Colors");
st->ncolors += 3;
st->colors = (XColor *) malloc(sizeof(*st->colors) * (st->ncolors+1));
st->ncolors = get_integer_resource (st->dpy, "colors", "Colors");
st->ncolors += 3;
st->colors = (XColor *) malloc(sizeof(*st->colors) * (st->ncolors+1));
- make_smooth_colormap (st->dpy, wa.visual, st->cmap, st->colors, &st->ncolors,
+ make_smooth_colormap (wa.screen, wa.visual, st->cmap,
+ st->colors, &st->ncolors,
True, 0, True);
st->gcDraw = XCreateGC(st->dpy, window, 0, &st->gcv);
True, 0, True);
st->gcDraw = XCreateGC(st->dpy, window, 0, &st->gcv);