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");
"*dontClearRoot: True",
".foreground: white",
".background: #111111",
+ "*fpsSolid: true",
#ifdef __sgi /* really, HAVE_READ_DISPLAY_EXTENSION */
"*visualID: Best",
#endif
- "*lenses: false",
+ "*lenses: true",
"*delay: 10000",
"*duration: 120",
"*pixwidth: 10",
"*pixspacey: 2",
"*lensoffsetx: 5",
"*lensoffsety: 5",
+#ifdef USE_IPHONE
+ "*ignoreRotation: True",
+#endif
0
};
static XrmOptionDescRec zoom_options[] = {
{ "-lenses", ".lenses", XrmoptionNoArg, "true" },
+ { "-no-lenses", ".lenses", XrmoptionNoArg, "false" },
{ "-delay", ".delay", XrmoptionSepArg, 0 },
{ "-duration", ".duration", XrmoptionSepArg, 0 },
{ "-pixwidth", ".pixwidth", XrmoptionSepArg, 0 },