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
/
blaster.c
diff --git
a/hacks/blaster.c
b/hacks/blaster.c
index 080a277b77933cbd1178f353302eb26c868f84a1..3944146fffa048dad91a15388456691cd93ab6e8 100644
(file)
--- a/
hacks/blaster.c
+++ b/
hacks/blaster.c
@@
-739,7
+739,7
@@
blaster_draw (Display *dpy, Window window, void *closure)
{
struct state *st = (struct state *) closure;
{
struct state *st = (struct state *) closure;
-#ifdef HAVE_
COCOA
/* Don't second-guess Quartz's double-buffering */
+#ifdef HAVE_
JWXYZ
/* Don't second-guess Quartz's double-buffering */
XClearWindow (dpy, window);
#endif
XClearWindow (dpy, window);
#endif
@@
-1041,7
+1041,7
@@
blaster_init (Display *d, Window w)
make_gc (st->r_color5,"r_color5");
make_gc (st->l_color0,"l_color0");
make_gc (st->l_color1,"l_color1");
make_gc (st->r_color5,"r_color5");
make_gc (st->l_color0,"l_color0");
make_gc (st->l_color1,"l_color1");
-#ifdef HAVE_
COCOA
/* Don't second-guess Quartz's double-buffering */
+#ifdef HAVE_
JWXYZ
/* Don't second-guess Quartz's double-buffering */
st->black = 0;
#else
make_gc (st->black,"background");
st->black = 0;
#else
make_gc (st->black,"background");
@@
-1129,7
+1129,7
@@
static const char *blaster_defaults [] = {
"*move_stars_x: 2",
"*move_stars_y: 1",
"*move_stars_random: 0",
"*move_stars_x: 2",
"*move_stars_y: 1",
"*move_stars_random: 0",
-#ifdef
USE_IPHON
E
+#ifdef
HAVE_MOBIL
E
"*ignoreRotation: True",
#endif
0
"*ignoreRotation: True",
#endif
0