projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
ftp://ftp.linux.ncsu.edu/mirror/ftp.redhat.com/pub/redhat/linux/enterprise/4/en/os...
[xscreensaver]
/
hacks
/
glx
/
bouncingcow.c
diff --git
a/hacks/glx/bouncingcow.c
b/hacks/glx/bouncingcow.c
index 667dd1e8486ca8a473ea5cf14f94fe3ad8161554..1c9e92bcf95bf75b37807aaa41d2cae57bd2a0ab 100644
(file)
--- a/
hacks/glx/bouncingcow.c
+++ b/
hacks/glx/bouncingcow.c
@@
-1,4
+1,4
@@
-/* bouncingcow, Copyright (c) 2003 Jamie Zawinski <jwz@jwz.org>
+/* bouncingcow, Copyright (c) 2003
, 2004
Jamie Zawinski <jwz@jwz.org>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
@@
-23,7
+23,7
@@
extern XtAppContext app;
#define EVENT_MASK PointerMotionMask
#define sws_opts xlockmore_opts
#define EVENT_MASK PointerMotionMask
#define sws_opts xlockmore_opts
-#define DEF_SPEED "
1.0
"
+#define DEF_SPEED "
0.7
"
#define DEF_TEXTURE "(none)"
#define DEFAULTS "*delay: 30000 \n" \
#define DEF_TEXTURE "(none)"
#define DEFAULTS "*delay: 30000 \n" \
@@
-100,12
+100,12
@@
static const char *do_texture;
static XrmOptionDescRec opts[] = {
{ "-speed", ".speed", XrmoptionSepArg, 0 },
{"-texture", ".texture", XrmoptionSepArg, 0 },
static XrmOptionDescRec opts[] = {
{ "-speed", ".speed", XrmoptionSepArg, 0 },
{"-texture", ".texture", XrmoptionSepArg, 0 },
- {"+texture", ".texture", XrmoptionNoArg,
(caddr_t)
"(none)" },
+ {"+texture", ".texture", XrmoptionNoArg, "(none)" },
};
static argtype vars[] = {
};
static argtype vars[] = {
- {
(caddr_t *)
&speed, "speed", "Speed", DEF_SPEED, t_Float},
- {
(caddr_t *)
&do_texture, "texture", "Texture", DEF_TEXTURE, t_String},
+ {&speed, "speed", "Speed", DEF_SPEED, t_Float},
+ {&do_texture, "texture", "Texture", DEF_TEXTURE, t_String},
};
ModeSpecOpt sws_opts = {countof(opts), opts, countof(vars), vars, NULL};
};
ModeSpecOpt sws_opts = {countof(opts), opts, countof(vars), vars, NULL};