X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fcloudlife.c;h=4e848ef56619183dfac07b399e05ff390c49a643;hb=dba664f31aa87285db4d76cf8c5e66335299703a;hp=8d898d8f35841208ab626cf2f608b6a037e4b76e;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/cloudlife.c b/hacks/cloudlife.c index 8d898d8f..4e848ef5 100644 --- a/hacks/cloudlife.c +++ b/hacks/cloudlife.c @@ -302,7 +302,8 @@ cloudlife_init (Display *dpy, Window window) if (st->cycle_colors) { st->colors = (XColor *) xrealloc(st->colors, sizeof(XColor) * (st->ncolors+1)); - make_smooth_colormap (st->dpy, st->xgwa.visual, st->xgwa.colormap, st->colors, &st->ncolors, + make_smooth_colormap (st->xgwa.screen, st->xgwa.visual, + st->xgwa.colormap, st->colors, &st->ncolors, True, &tmp, True); } @@ -390,12 +391,16 @@ cloudlife_free (Display *dpy, Window window, void *closure) static const char *cloudlife_defaults[] = { ".background: black", ".foreground: blue", + "*fpsSolid: true", "*cycleDelay: 25000", "*cycleColors: 2", "*ncolors: 64", "*maxAge: 64", "*initialDensity: 30", "*cellSize: 3", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 }; @@ -412,4 +417,4 @@ static XrmOptionDescRec cloudlife_options[] = { }; -XSCREENSAVER_MODULE ("Cloudlife", cloudlife) +XSCREENSAVER_MODULE ("CloudLife", cloudlife)