X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fcloudlife.c;h=4e848ef56619183dfac07b399e05ff390c49a643;hp=911b99be27bd8d2c6581a5e5e59d8faed492bed8;hb=4ade52359b6eba3621566dac79793a33aa4c915f;hpb=ff35d056d723c9a5ffe728dbba5f1c25e141be04 diff --git a/hacks/cloudlife.c b/hacks/cloudlife.c index 911b99be..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); } @@ -397,6 +398,9 @@ static const char *cloudlife_defaults[] = { "*maxAge: 64", "*initialDensity: 30", "*cellSize: 3", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 };