X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fspotlight.c;h=7224ee855406918ed1e49c1b6a0a6cd09e364d24;hp=ccf768ece989a3f24ddb12a631c3b2592687fde0;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/spotlight.c b/hacks/spotlight.c index ccf768ec..7224ee85 100644 --- a/hacks/spotlight.c +++ b/hacks/spotlight.c @@ -144,7 +144,7 @@ spotlight_init (Display *dpy, Window window) st->first_time = 1; /* create buffer to reduce flicker */ -#ifdef HAVE_COCOA /* Don't second-guess Quartz's double-buffering */ +#ifdef HAVE_JWXYZ /* Don't second-guess Quartz's double-buffering */ st->buffer = 0; #else st->buffer = XCreatePixmap(st->dpy, st->window, st->sizex, st->sizey, xgwa.depth); @@ -325,7 +325,7 @@ static const char *spotlight_defaults [] = { "*delay: 10000", "*duration: 120", "*radius: 125", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", "*rotateImages: True", #endif