ftp://ftp.krokus.ru/pub/OpenBSD/distfiles/xscreensaver-4.21.tar.gz
[xscreensaver] / hacks / glx / flurry.c
index 3571bece03dad6ec4fe4f22127e5787a966fddeb..3a40be48e5ab8b258aa50d9c053ed3fb2fe1c7c4 100644 (file)
@@ -41,11 +41,6 @@ SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
 static const char sccsid[] = "@(#)flurry.c     4.07 97/11/24 xlockmore";
 #endif
 
-/*-
- * due to a Bug/feature in VMS X11/Intrinsic.h has to be placed before xlock.
- * otherwise caddr_t is not defined correctly
- */
-
 #define DEF_PRESET     "classic"
 #define DEF_BRIGHTNESS "8"
 
@@ -54,10 +49,10 @@ static const char sccsid[] = "@(#)flurry.c  4.07 97/11/24 xlockmore";
 # define PROGCLASS             "Flurry"
 # define HACK_INIT             init_flurry
 # define HACK_DRAW             draw_flurry
-# define HACK_RESHAPE          reshape_flurry
-# define flurry_opts           xlockmore_opts
-# define DEFAULTS              "*showFPS:      False   \n" \
-                               "*preset:       " DEF_PRESET "   \n"
+# define HACK_RESHAPE  reshape_flurry
+# define flurry_opts   xlockmore_opts
+# define DEFAULTS              "*delay:      10000 \n" \
+                                               "*showFPS:    False \n"
 
 # include "xlockmore.h"                /* from the xscreensaver distribution */
 
@@ -70,7 +65,7 @@ static XrmOptionDescRec opts[] = {
 };
 
 static argtype vars[] = {
-    {(caddr_t *) &preset_str, "preset",     "Preset",     DEF_PRESET,     t_String},
+    {&preset_str, "preset",     "Preset",     DEF_PRESET,     t_String},
 };
 
 #define countof(x) (sizeof((x))/sizeof((*x)))