if (mono_p)
;
else {
- make_smooth_colormap (st->dpy, st->xgwa.visual, st->xgwa.colormap, st->colors, &st->ncolors,
+ make_smooth_colormap (st->xgwa.screen, st->xgwa.visual, st->xgwa.colormap,
+ st->colors, &st->ncolors,
True, 0, True);
if (st->ncolors <= 2) {
mono_p = True;
static Bool
cynosure_event (Display *dpy, Window window, void *closure, XEvent *event)
{
+ struct state *st = (struct state *) closure;
+ if (screenhack_event_helper (dpy, window, event))
+ {
+ st->i = st->iterations;
+ return True;
+ }
return False;
}
static const char *cynosure_defaults [] = {
".background: black",
".foreground: white",
+ "*fpsSolid: true",
"*delay: 500000",
"*colors: 128",
"*iterations: 100",
"*sway: 30",
"*tweak: 20",
"*gridSize: 12",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};