X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fvermiculate.c;h=c50785afda811afd6510ef267b9a2977ded15a6a;hp=d1ef57198af245212cfc971fa17e2c4998507e67;hb=4ade52359b6eba3621566dac79793a33aa4c915f;hpb=ff35d056d723c9a5ffe728dbba5f1c25e141be04 diff --git a/hacks/vermiculate.c b/hacks/vermiculate.c index d1ef5719..c50785af 100644 --- a/hacks/vermiculate.c +++ b/hacks/vermiculate.c @@ -209,9 +209,8 @@ static void randpal (struct state *st) { int ncolors = tailmax - 1; - make_random_colormap (st->dpy, - st->xgwa.visual, - st->mycmap, &st->mycolors[1], &ncolors, True, True, 0, True); + make_random_colormap (st->xgwa.screen, st->xgwa.visual, st->mycmap, + &st->mycolors[1], &ncolors, True, True, 0, True); if (ncolors < tailmax - 1) { int c; @@ -1206,6 +1205,9 @@ static const char *vermiculate_defaults[] = { "*fpsSolid: true", "*speed: 0", "*instring: ", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 };