X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fblaster.c;h=a60351af03d98497befb639203a913ff53dd08c4;hb=39809ded547bdbb08207d3e514950425215b4410;hp=f2bc6f5920aa5be219e264ce97944335330a7093;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/blaster.c b/hacks/blaster.c index f2bc6f59..a60351af 100644 --- 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; -#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 @@ -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"); -#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"); @@ -1096,8 +1096,10 @@ blaster_free (Display *dpy, Window window, void *closure) static const char *blaster_defaults [] = { + ".lowrez: true", ".background: black", ".foreground: white", + "*fpsSolid: true", "*r_color0: #FF00FF", "*r_color1: #FFA500", "*r_color2: #FFFF00", @@ -1128,6 +1130,9 @@ static const char *blaster_defaults [] = { "*move_stars_x: 2", "*move_stars_y: 1", "*move_stars_random: 0", +#ifdef HAVE_MOBILE + "*ignoreRotation: True", +#endif 0 };