projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.22.tar.gz
[xscreensaver]
/
hacks
/
whirlwindwarp.c
diff --git
a/hacks/whirlwindwarp.c
b/hacks/whirlwindwarp.c
index d76d5ed250c39746a0bdc9e89a0155cf63232d2c..843a1cfbbcf4f4e1a419183ac8cff2502a8ff16b 100644
(file)
--- a/
hacks/whirlwindwarp.c
+++ b/
hacks/whirlwindwarp.c
@@
-463,6
+463,9
@@
static void
whirlwindwarp_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
whirlwindwarp_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
+ struct state *st = (struct state *) closure;
+ st->scrwid = w;
+ st->scrhei = h;
}
static Bool
}
static Bool
@@
-482,9
+485,13
@@
whirlwindwarp_free (Display *dpy, Window window, void *closure)
static const char *whirlwindwarp_defaults [] = {
".background: black",
".foreground: white",
static const char *whirlwindwarp_defaults [] = {
".background: black",
".foreground: white",
+ "*fpsSolid: true",
"*points: 400",
"*tails: 8",
"*meters: false",
"*points: 400",
"*tails: 8",
"*meters: false",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};
0
};
@@
-495,4
+502,4
@@
static XrmOptionDescRec whirlwindwarp_options [] = {
{ 0, 0, 0, 0 }
};
{ 0, 0, 0, 0 }
};
-XSCREENSAVER_MODULE ("Whirl
windw
arp", whirlwindwarp)
+XSCREENSAVER_MODULE ("Whirl
WindW
arp", whirlwindwarp)