".background: black",
"*delay: 20000",
"*fpsSolid: true",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};
if (st->graySIndex[st->trailLen-1-i] > 19) st->graySIndex[st->trailLen-1-i] = 19;
}
- schizoLength = st->trailLen/4;
- if (schizoLength < 3) schizoLength = 3;
+ /*schizoLength = st->trailLen/4;
+ if (schizoLength < 3) schizoLength = 3;*/
/* red schizo */
for (i = 0; i < st->trailLen; i++) {
/* redSIndex[trailLen-1-i] =
xrayswarm_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
+ struct state *st = (struct state *) closure;
+ st->xsize = w;
+ st->ysize = h;
+ st->xc = st->xsize >> 1;
+ st->yc = st->ysize >> 1;
+ st->maxy = st->ysize/(float)st->xsize;
}
static Bool