X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fintermomentary.c;h=bcbd19ee3a6dc07f3b67553bdc8e46c7ad3bd670;hp=ba5268ab26145df0b06441607a891974aae140cd;hb=4ade52359b6eba3621566dac79793a33aa4c915f;hpb=ff35d056d723c9a5ffe728dbba5f1c25e141be04 diff --git a/hacks/intermomentary.c b/hacks/intermomentary.c index ba5268ab..bcbd19ee 100644 --- a/hacks/intermomentary.c +++ b/hacks/intermomentary.c @@ -419,7 +419,7 @@ intermomentary_init (Display *dpy, Window window) bgs = fgs; bgv = fgv / 10.0; #endif - make_color_ramp (st->dpy, st->xgwa.colormap, + make_color_ramp (st->xgwa.screen, st->xgwa.visual, st->xgwa.colormap, bgh, bgs, bgv, fgh, fgs, fgv, st->colors, &st->ncolors, @@ -554,6 +554,9 @@ static const char *intermomentary_defaults[] = { "*maxRiders: 40", "*maxRadius: 100", "*colors: 256", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 };