X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Ftessellimage.c;h=d361eb3fb4f4944d1c0dea114b7d3a6f16ae7cb1;hp=d018f0cde4927ec531a693d815c401e0dc98049e;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hpb=88cfe534a698a0562e81345957a50714af1453bc diff --git a/hacks/tessellimage.c b/hacks/tessellimage.c index d018f0cd..d361eb3f 100644 --- a/hacks/tessellimage.c +++ b/hacks/tessellimage.c @@ -15,7 +15,7 @@ #undef DO_VORONOI -#ifndef HAVE_COCOA +#ifndef HAVE_JWXYZ # define XK_MISCELLANY # include #endif @@ -67,13 +67,11 @@ static void * tessellimage_init (Display *dpy, Window window) { struct state *st = (struct state *) calloc (1, sizeof(*st)); - Colormap cmap; st->dpy = dpy; st->window = window; XGetWindowAttributes (st->dpy, st->window, &st->xgwa); - cmap = st->xgwa.colormap; st->delay = get_integer_resource (st->dpy, "delay", "Integer"); if (st->delay < 1) st->delay = 1; @@ -932,7 +930,7 @@ static const char *tessellimage_defaults [] = { "*outline: True", "*fillScreen: True", "*cache: True", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", "*rotateImages: True", #endif