X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fzoom.c;h=73b27b05f3e417f25f1eca51fbd34c7c1a85fbb4;hb=50be9bb40dc60130c99ffa568e6677779904ff70;hp=4b35797d300094a78693d0f23e4016e4d5b46773;hpb=de460e831dc8578acfa8b72251ab9346c99c1f96;p=xscreensaver diff --git a/hacks/zoom.c b/hacks/zoom.c index 4b35797d..73b27b05 100644 --- a/hacks/zoom.c +++ b/hacks/zoom.c @@ -72,7 +72,7 @@ zoom_init (Display *dpy, Window window) XGCValues gcv; XWindowAttributes xgwa; Colormap cmap; - unsigned long fg, bg; + unsigned long bg; long gcflags; int nblocksx, nblocksy; @@ -83,7 +83,6 @@ zoom_init (Display *dpy, Window window) 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"); @@ -237,10 +236,11 @@ static const char *zoom_defaults[] = { "*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", @@ -254,6 +254,7 @@ static const char *zoom_defaults[] = { 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 },