X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fwormhole.c;h=c8cdfcdac746ad3d3b837958d89c7f5bacbb9c7b;hp=4529d5d68b1f37eb0a61714af48287a5b7b845a8;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/wormhole.c b/hacks/wormhole.c index 4529d5d6..c8cdfcda 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 ); @@ -708,7 +708,7 @@ static const char *wormhole_defaults [] = { "*delay: 10000", "*zspeed: 10", "*stars: 20", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0