From http://www.jwz.org/xscreensaver/xscreensaver-5.21.tar.gz
[xscreensaver] / hacks / wander.c
index 9cdd090bd182a4ba06b0ac0afd2b0e5a277a43d9..8fa8995ae043b9eec72b5473c8356b3c57b378c2 100644 (file)
@@ -210,6 +210,11 @@ static void
 wander_reshape (Display *dpy, Window window, void *closure, 
                  unsigned int w, unsigned int h)
 {
+  struct state *st = (struct state *) closure;
+  st->width  = w / st->size;
+  st->height = h / st->size;
+  st->width_1  = st->width - 1;
+  st->height_1 = st->height - 1;
 }
 
 static Bool
@@ -227,6 +232,7 @@ static const char *wander_defaults [] =
 {
     ".background: black",
     ".foreground: white",
+    ".fpsSolid:          true",
     ".advance:    1",
     ".density:    2",
     ".length:     25000",