/* xlockmore.c --- xscreensaver compatibility layer for xlockmore modules.
- * xscreensaver, Copyright (c) 1997 Jamie Zawinski <jwz@netscape.com>
+ * xscreensaver, Copyright (c) 1997, 1998 Jamie Zawinski <jwz@netscape.com>
*
* Permission to use, copy, modify, distribute, and sell this software and its
* documentation for any purpose is hereby granted without fee, provided that
new->value = "True";
new = &options[i++];
new->option = "-no-wireframe";
- new->specifier = options[i-1].specifier;
+ new->specifier = options[i-2].specifier;
new->argKind = XrmoptionNoArg;
new->value = "False";
}
new->value = "True";
new = &options[i++];
new->option = "-no-3d";
- new->specifier = options[i-1].specifier;
+ new->specifier = options[i-2].specifier;
new->argKind = XrmoptionNoArg;
new->value = "False";
}
XColor color;
int i;
time_t start, now;
+ int orig_pause;
memset(&mi, 0, sizeof(mi));
mi.dpy = dpy;
mi.pause = 0;
else if (mi.pause > 100000000)
mi.pause = 100000000;
+ orig_pause = mi.pause;
xlockmore_read_resources ();
XSync(dpy, False);
if (mi.pause)
usleep(mi.pause);
+ mi.pause = orig_pause;
if (hack_free)
{