X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Ftwang.c;h=3dfff461a1c9fd3b068014f8d87451e5f9a49e88;hb=2d04c4f22466851aedb6ed0f2919d148f726b889;hp=8b975dce5cc47a53ac52908bf6d09f69c24c8f41;hpb=a94197e76a5dea5cb60542840809d6c20d0abbf3;p=xscreensaver diff --git a/hacks/twang.c b/hacks/twang.c index 8b975dce..3dfff461 100644 --- a/hacks/twang.c +++ b/hacks/twang.c @@ -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, NULL); sourceImage = XGetImage (display, window, 0, 0, windowWidth, windowHeight, ~0L, ZPixmap);