XGCValues gcv;
XWindowAttributes xgwa;
Colormap cmap;
- unsigned long fg, bg;
+ unsigned long bg;
long gcflags;
int nblocksx, nblocksy;
st->sizex = xgwa.width;
st->sizey = xgwa.height;
cmap = xgwa.colormap;
- fg = get_pixel_resource(st->dpy, cmap, "foreground", "Foreground");
bg = get_pixel_resource(st->dpy, cmap, "background", "Background");
st->delay = get_integer_resource(st->dpy, "delay", "Integer");
static Bool
zoom_event (Display *dpy, Window window, void *closure, XEvent *event)
{
+ struct state *st = (struct state *) closure;
+ if (screenhack_event_helper (dpy, window, event))
+ {
+ st->start_time = 0;
+ return True;
+ }
return False;
}
"*pixspacey: 2",
"*lensoffsetx: 5",
"*lensoffsety: 5",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+ "*rotateImages: True",
+#endif
0
};