randpal (struct state *st)
{
int ncolors = tailmax - 1;
- make_random_colormap (st->dpy,
- st->xgwa.visual,
- st->mycmap, &st->mycolors[1], &ncolors, True, True, 0, True);
+ make_random_colormap (st->xgwa.screen, st->xgwa.visual, st->mycmap,
+ &st->mycolors[1], &ncolors, True, True, 0, True);
if (ncolors < tailmax - 1)
{
int c;
vermiculate_reshape (Display *dpy, Window window, void *closure,
unsigned int w, unsigned int h)
{
+ struct state *st = (struct state *) closure;
+ st->wid = w;
+ st->hei = h;
+ free (st->point);
+ st->point = (unsigned char *) calloc (1, st->wid * st->hei);
}
static Bool
"*fpsSolid: true",
"*speed: 0",
"*instring: ",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};