http://ftp.ksu.edu.tw/FTP/FreeBSD/distfiles/xscreensaver-4.20.tar.gz
[xscreensaver] / hacks / spotlight.c
index 2616b849a9662c0561607849bb78f8379fe85fcf..b98d54b68fcb2901946ac714db624d9c5d673e11 100644 (file)
@@ -8,7 +8,7 @@
 /* modified from a module from the xscreensaver distribution */
 
 /*
- * xscreensaver, Copyright (c) 1992, 1993, 1994, 1996, 1997, 1998
+ * xscreensaver, Copyright (c) 1992, 1993, 1994, 1996, 1997, 1998, 2005
  * Jamie Zawinski <jwz@jwz.org>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
@@ -115,7 +115,7 @@ init_hack (Display *dpy, Window window)
 
   /* grab screen to pixmap */
   pm = XCreatePixmap(dpy, window, sizex, sizey, xgwa.depth);
-  load_random_image (xgwa.screen, window, pm, NULL);
+  load_random_image (xgwa.screen, window, pm, NULL, NULL);
   XClearWindow(dpy, window);
   XFlush (dpy);