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
/
rd-bomb.c
diff --git
a/hacks/rd-bomb.c
b/hacks/rd-bomb.c
index 0c074ea49f442e928539ab323da3f939e9af6383..3e9acbc50e3a5e95d0d892537fd70adab94af867 100644
(file)
--- a/
hacks/rd-bomb.c
+++ b/
hacks/rd-bomb.c
@@
-1,4
+1,4
@@
-/* xscreensaver, Copyright (c) 1992-20
08
Jamie Zawinski <jwz@jwz.org>
+/* xscreensaver, Copyright (c) 1992-20
13
Jamie Zawinski <jwz@jwz.org>
*
* reaction/diffusion textures
* Copyright (c) 1997 Scott Draves spot@transmeta.com
*
* reaction/diffusion textures
* Copyright (c) 1997 Scott Draves spot@transmeta.com
@@
-308,6
+308,9
@@
static const char *rd_defaults [] = {
"*useSHM: True",
#else
"*useSHM: False",
"*useSHM: True",
#else
"*useSHM: False",
+#endif
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
#endif
0
};
#endif
0
};
@@
-333,7
+336,8
@@
static void
random_colors(struct state *st)
{
memset(st->colors, 0, st->ncolors*sizeof(*st->colors));
random_colors(struct state *st)
{
memset(st->colors, 0, st->ncolors*sizeof(*st->colors));
- make_smooth_colormap (st->dpy, st->visual, st->cmap, st->colors, &st->ncolors,
+ make_smooth_colormap (st->xgwa.screen, st->visual, st->cmap,
+ st->colors, &st->ncolors,
True, 0, True);
if (st->ncolors <= 2) {
mono_p = True;
True, 0, True);
if (st->ncolors <= 2) {
mono_p = True;