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
/
anemotaxis.c
diff --git
a/hacks/anemotaxis.c
b/hacks/anemotaxis.c
index 1f3a859d84de052d4f33ba0f78a911665e177625..50f35348566189649de37857af8a438fd25ddfda 100644
(file)
--- a/
hacks/anemotaxis.c
+++ b/
hacks/anemotaxis.c
@@
-379,7
+379,8
@@
anemotaxis_init (Display *disp, Window win)
st->ncolors = get_integer_resource (st->dpy, "colors", "Colors");
st->ncolors++;
st->colors = (XColor *) malloc(sizeof(*st->colors) * (st->ncolors+1));
st->ncolors = get_integer_resource (st->dpy, "colors", "Colors");
st->ncolors++;
st->colors = (XColor *) malloc(sizeof(*st->colors) * (st->ncolors+1));
- make_random_colormap (st->dpy, wa.visual, wa.colormap, st->colors, &st->ncolors,
+ make_random_colormap (wa.screen, wa.visual, wa.colormap,
+ st->colors, &st->ncolors,
True, True, 0, True);
st->delay = get_integer_resource(st->dpy, "delay", "Integer");
True, True, 0, True);
st->delay = get_integer_resource(st->dpy, "delay", "Integer");