X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fcynosure.c;fp=hacks%2Fcynosure.c;h=246a4f0ca149bbe3a8c3a704193e744e030931c4;hp=baf3be43562d6e8c0d1faad58ad6df254ac1d751;hb=4ade52359b6eba3621566dac79793a33aa4c915f;hpb=ff35d056d723c9a5ffe728dbba5f1c25e141be04 diff --git a/hacks/cynosure.c b/hacks/cynosure.c index baf3be43..246a4f0c 100644 --- a/hacks/cynosure.c +++ b/hacks/cynosure.c @@ -125,7 +125,8 @@ cynosure_init (Display *d, Window w) if (mono_p) ; else { - 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, 0, True); if (st->ncolors <= 2) { mono_p = True; @@ -418,6 +419,9 @@ static const char *cynosure_defaults [] = { "*sway: 30", "*tweak: 20", "*gridSize: 12", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 };