X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fslidescreen.c;h=dde3a21a5936da401ef191753ed345557d72d877;hp=d8f80db4740ce8db22c7c72c15be37481770babc;hb=40eacb5812ef7c0e3374fb139afbb4f5bc8bbfb5;hpb=2c902d6065f9856adf31e8540a94f1e42e68e905 diff --git a/hacks/slidescreen.c b/hacks/slidescreen.c index d8f80db4..dde3a21a 100644 --- a/hacks/slidescreen.c +++ b/hacks/slidescreen.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1992, 1993, 1994, 1996, 1997, 1998, 2001 +/* xscreensaver, Copyright (c) 1992, 1993, 1994, 1996, 1997, 1998, 2001, 2003 * Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its @@ -36,7 +36,7 @@ init_slide (Display *dpy, Window window) Visual *visual; XGetWindowAttributes (dpy, window, &xgwa); - grab_screen_image (xgwa.screen, window); + load_random_image (xgwa.screen, window, window); cmap = xgwa.colormap; visual = xgwa.visual; max_width = xgwa.width;