ftp://ftp.uni-heidelberg.de/pub/X11/contrib/applications/xscreensaver-1.27.tar.Z
[xscreensaver] / hacks / blitspin.c
old mode 100755 (executable)
new mode 100644 (file)
index 091d84d..9a72b30
@@ -1,4 +1,4 @@
-/* xscreensaver, Copyright (c) 1992 Jamie Zawinski <jwz@mcom.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
 # endif
 #endif
 
-#ifndef VMS
 #include <X11/Xmu/Drawing.h>
-#else
-#include "sys$common:[decw$include.xmu]Drawing.h"
-#endif
 
 #include "default.xbm"
 
@@ -101,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)