X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fhalftone.c;h=b70a636d1dae3230c1c386815a9e201b12ef121e;hp=84503c1fc77ee07d90109429886b1664e79d4d3a;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/halftone.c b/hacks/halftone.c index 84503c1f..b70a636d 100644 --- a/hacks/halftone.c +++ b/hacks/halftone.c @@ -85,7 +85,7 @@ static void update_buffer(halftone_screen *halftone, XWindowAttributes * attrs) halftone->buffer_width = attrs->width; halftone->buffer_height = attrs->height; -#ifdef HAVE_COCOA /* Don't second-guess Quartz's double-buffering */ +#ifdef HAVE_JWXYZ /* Don't second-guess Quartz's double-buffering */ halftone->buffer = halftone->window; #else halftone->buffer = XCreatePixmap(halftone->dpy, halftone->window, halftone->buffer_width, halftone->buffer_height, attrs->depth); @@ -373,7 +373,7 @@ static const char *halftone_defaults [] = { "*sizeFactor: 1.5", "*colors: 200", "*cycleSpeed: 10", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0