X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fwormhole.c;h=c8cdfcdac746ad3d3b837958d89c7f5bacbb9c7b;hb=d6b0217f2417bd19187f0ebc389d6c5c2233b11c;hp=86a6dcd54a7c6de513a7fc2cbf531ae45b64c46e;hpb=5f9c47ca98dd43d8f59b7c27d3fde6edfde4fe21;p=xscreensaver diff --git a/hacks/wormhole.c b/hacks/wormhole.c index 86a6dcd5..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,6 +708,9 @@ static const char *wormhole_defaults [] = { "*delay: 10000", "*zspeed: 10", "*stars: 20", +#ifdef HAVE_MOBILE + "*ignoreRotation: True", +#endif 0 };