From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver] / hacks / blitspin.c
index 1c18881c8fda0b8347fb31fb912dc9cdba287ad8..83f9bd4c8e5a29682ab0525be2c32cc9448a67c4 100644 (file)
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1992-2008 Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-2012 Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -296,6 +296,7 @@ blitspin_init (Display *d_arg, Window w_arg)
       st->bitmap = xpm_file_to_pixmap (st->dpy, st->window, bitmap_name,
                                    &st->width, &st->height, 0);
       st->scale_up = True; /* probably? */
+      blitspin_init_2 (st);
     }
 
   return st;
@@ -415,6 +416,9 @@ static const char *blitspin_defaults [] = {
   "*duration:  120",
   "*bitmap:    (default)",
   "*geometry:  512x512",
+#ifdef USE_IPHONE
+  "*ignoreRotation: True",
+#endif
   0
 };