ftp://ftp.uni-heidelberg.de/pub/X11/contrib/applications/xscreensaver-1.27.tar.Z
[xscreensaver] / hacks / blitspin.c
index debdbaea58a5bf0328644d3b30a96dcb432597b2..9a72b302d7ccba7d496877a921f85cd3a291a8b9 100644 (file)
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1992 Jamie Zawinski <jwz@netscape.com>
+/* xscreensaver, Copyright (c) 1992-1996 Jamie Zawinski <jwz@netscape.com>
  *
  * Permission to use, copy, modify, distribute, and sell this software and its
  * documentation for any purpose is hereby granted without fee, provided that
@@ -97,6 +97,12 @@ read_bitmap (bitmap_name, widthP, heightP)
   int result;
   xpmattrs.valuemask = 0;
   bitmap = 0;
+
+#ifdef XpmCloseness
+  xpmattrs.valuemask |= XpmCloseness;
+  xpmattrs.closeness = 40000;
+#endif
+
   result = XpmReadFileToPixmap (dpy, window, bitmap_name, &bitmap, 0,
                                &xpmattrs);
   switch (result)