X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fwormhole.c;h=f28c5b2514640688032bdefd7be59347ab772dcd;hb=39809ded547bdbb08207d3e514950425215b4410;hp=4529d5d68b1f37eb0a61714af48287a5b7b845a8;hpb=4ade52359b6eba3621566dac79793a33aa4c915f;p=xscreensaver diff --git a/hacks/wormhole.c b/hacks/wormhole.c index 4529d5d6..f28c5b25 100644 --- a/hacks/wormhole.c +++ b/hacks/wormhole.c @@ -303,7 +303,7 @@ static void resizeWormhole( struct state *st, wormhole * worm ) st->SCREEN_X = attr.width; st->SCREEN_Y = attr.height; -# ifndef HAVE_COCOA /* Don't second-guess Quartz's double-buffering */ +# ifndef HAVE_JWXYZ /* Don't second-guess Quartz's double-buffering */ XFreePixmap( st->dpy, worm->work ); worm->work = XCreatePixmap( st->dpy, st->window, st->SCREEN_X, st->SCREEN_Y, attr.depth ); # endif @@ -323,7 +323,7 @@ static void initWormhole( struct state *st, wormhole * worm, Display * display, st->SCREEN_X = attr.width; st->SCREEN_Y = attr.height; -# ifdef HAVE_COCOA /* Don't second-guess Quartz's double-buffering */ +# ifdef HAVE_JWXYZ /* Don't second-guess Quartz's double-buffering */ worm->work = st->window; # else worm->work = XCreatePixmap( st->dpy, st->window, st->SCREEN_X, st->SCREEN_Y, attr.depth ); @@ -703,12 +703,13 @@ wormhole_free (Display *dpy, Window window, void *closure) static const char *wormhole_defaults [] = { + ".lowrez: true", ".background: Black", ".foreground: #E9967A", "*delay: 10000", "*zspeed: 10", "*stars: 20", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0