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.40.tar.gz
[xscreensaver]
/
hacks
/
blaster.c
diff --git
a/hacks/blaster.c
b/hacks/blaster.c
index 1449e1153a8907de59e9f7f8e52ce8d4ff2ed499..a60351af03d98497befb639203a913ff53dd08c4 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");
@@
-1096,6
+1096,7
@@
blaster_free (Display *dpy, Window window, void *closure)
static const char *blaster_defaults [] = {
static const char *blaster_defaults [] = {
+ ".lowrez: true",
".background: black",
".foreground: white",
"*fpsSolid: true",
".background: black",
".foreground: white",
"*fpsSolid: true",
@@
-1129,6
+1130,9
@@
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 HAVE_MOBILE
+ "*ignoreRotation: True",
+#endif
0
};
0
};