http://packetstormsecurity.org/UNIX/admin/xscreensaver-4.14.tar.gz
[xscreensaver] / hacks / twang.c
index 8b975dce5cc47a53ac52908bf6d09f69c24c8f41..e118851c3b840558ac1ca3da98e8884fa707c2a1 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, NULL);
     sourceImage = XGetImage (display, window, 0, 0, windowWidth, windowHeight,
                             ~0L, ZPixmap);