From http://www.jwz.org/xscreensaver/xscreensaver-5.33.tar.gz
[xscreensaver] / hacks / qix.c
index ad1e26e7a6ef951834ec60f72b8c2bb37d400f1c..6e3e9aebe987ef5b747da1c8e2c62b4d0c285d5d 100644 (file)
@@ -475,7 +475,7 @@ add_qline (struct state *st,
             {
               /* give a non-opaque alpha to the color */
               unsigned long pixel = qline->color.pixel;
-              unsigned long amask = BlackPixelOfScreen (0);
+              unsigned long amask = BlackPixel (st->dpy, 0);
               unsigned long a = (0xBBBBBBBB & amask);
               pixel = (pixel & (~amask)) | a;
               qline->color.pixel = pixel;
@@ -592,6 +592,9 @@ static const char *qix_defaults [] = {
   "*transparent:true",
   "*gravity:   false",
   "*additive:  true",
+#ifdef USE_IPHONE
+  "*ignoreRotation: True",
+#endif
   0
 };