X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fblaster.c;h=3944146fffa048dad91a15388456691cd93ab6e8;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hp=f2bc6f5920aa5be219e264ce97944335330a7093;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/blaster.c b/hacks/blaster.c index f2bc6f59..3944146f 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"); @@ -1098,6 +1098,7 @@ blaster_free (Display *dpy, Window window, void *closure) static const char *blaster_defaults [] = { ".background: black", ".foreground: white", + "*fpsSolid: true", "*r_color0: #FF00FF", "*r_color1: #FFA500", "*r_color2: #FFFF00", @@ -1128,6 +1129,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 };