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.35.tar.gz
[xscreensaver]
/
hacks
/
rocks.c
diff --git
a/hacks/rocks.c
b/hacks/rocks.c
index 37bd07927f574e103169e5b681176b67cb2f1db2..7e82b24db8e70e02fc0802ce21712bde9b022be3 100644
(file)
--- a/
hacks/rocks.c
+++ b/
hacks/rocks.c
@@
-1,5
+1,4
@@
-/* xscreensaver, Copyright (c) 1992, 1995, 1996, 1997, 1998, 2006
- * Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-2013 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
@@
-417,7
+416,8
@@
rocks_init (Display *d, Window w)
XQueryColor(st->dpy, cmap, &st->colors[0]);
st->ncolors--;
XQueryColor(st->dpy, cmap, &st->colors[0]);
st->ncolors--;
- make_random_colormap(st->dpy, xgwa.visual, cmap, st->colors+1, &st->ncolors, True,
+ make_random_colormap(xgwa.screen, xgwa.visual, cmap,
+ st->colors+1, &st->ncolors, True,
True, 0, True);
st->ncolors++;
True, 0, True);
st->ncolors++;
@@
-512,6
+512,7
@@
rocks_free (Display *dpy, Window window, void *closure)
static const char *rocks_defaults [] = {
".background: Black",
".foreground: #E9967A",
static const char *rocks_defaults [] = {
".background: Black",
".foreground: #E9967A",
+ "*fpsSolid: true",
"*colors: 5",
"*count: 100",
"*delay: 50000",
"*colors: 5",
"*count: 100",
"*delay: 50000",
@@
-522,6
+523,9
@@
static const char *rocks_defaults [] = {
"*left3d: Blue",
"*right3d: Red",
"*delta3d: 1.5",
"*left3d: Blue",
"*right3d: Red",
"*delta3d: 1.5",
+#ifdef HAVE_MOBILE
+ "*ignoreRotation: True",
+#endif
0
};
0
};