http://www.mirrorservice.org/sites/master.us.finkmirrors.net/distfiles/md5/fa43fdd68d...
[xscreensaver] / hacks / twang.c
index 8b975dce5cc47a53ac52908bf6d09f69c24c8f41..e51621f46a6627ac0327f8cd3a66936d530ea729 100644 (file)
@@ -143,7 +143,7 @@ static void grabImage (XWindowAttributes *xwa)
        XGetImage (display, window, 0, 0, windowWidth, windowHeight,
                   ~0L, ZPixmap);
 
-    grab_screen_image (screen, window);
+    load_random_image (screen, window, window);
     sourceImage = XGetImage (display, window, 0, 0, windowWidth, windowHeight,
                             ~0L, ZPixmap);