X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fhyperball.c;h=70120d6cabf1b5680af64d04dcd106d67b711d5c;hp=8a26cef7ca01c08153d170d8feccea3bbf0ccca9;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/hyperball.c b/hacks/hyperball.c index 8a26cef7..70120d6c 100644 --- a/hacks/hyperball.c +++ b/hacks/hyperball.c @@ -227,7 +227,7 @@ hyperball_draw (Display *dpy, Window window, void *closure) if (icon || !(hs->roted | resize)) goto skip1; -#ifdef HAVE_COCOA /* Don't second-guess Quartz's double-buffering */ +#ifdef HAVE_JWXYZ /* Don't second-guess Quartz's double-buffering */ XClearWindow (dpy, window); #endif @@ -498,7 +498,7 @@ hyperball_event (Display *dpy, Window win, void *closure, XEvent *event) } break; -#ifndef HAVE_COCOA +#ifndef HAVE_JWXYZ case UnmapNotify: hs->hs_icon = 1; hs->hs_redraw = 0;