From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver] / hacks / cynosure.c
index baf3be43562d6e8c0d1faad58ad6df254ac1d751..246a4f0ca149bbe3a8c3a704193e744e030931c4 100644 (file)
@@ -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
 };