From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver] / hacks / whirlwindwarp.c
index d76d5ed250c39746a0bdc9e89a0155cf63232d2c..843a1cfbbcf4f4e1a419183ac8cff2502a8ff16b 100644 (file)
@@ -463,6 +463,9 @@ static void
 whirlwindwarp_reshape (Display *dpy, Window window, void *closure, 
                  unsigned int w, unsigned int h)
 {
+  struct state *st = (struct state *) closure;
+  st->scrwid = w;
+  st->scrhei = h;
 }
 
 static Bool
@@ -482,9 +485,13 @@ whirlwindwarp_free (Display *dpy, Window window, void *closure)
 static const char *whirlwindwarp_defaults [] = {
   ".background:        black",
   ".foreground:        white",
+  "*fpsSolid:  true",
   "*points:    400",
   "*tails:     8",
   "*meters:    false",
+#ifdef USE_IPHONE
+  "*ignoreRotation: True",
+#endif
   0
 };
 
@@ -495,4 +502,4 @@ static XrmOptionDescRec whirlwindwarp_options [] = {
   { 0, 0, 0, 0 }
 };
 
-XSCREENSAVER_MODULE ("Whirlwindwarp", whirlwindwarp)
+XSCREENSAVER_MODULE ("WhirlWindWarp", whirlwindwarp)