projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-2.16.tar.gz
[xscreensaver]
/
hacks
/
xlockmore.c
diff --git
a/hacks/xlockmore.c
b/hacks/xlockmore.c
index d7185de9c9e88c39e198dac33a4e05c4dac81f3f..a1e71aa2e1f449809f7a42fdee5a690b0607d747 100644
(file)
--- a/
hacks/xlockmore.c
+++ b/
hacks/xlockmore.c
@@
-197,6
+197,7
@@
xlockmore_screenhack (Display *dpy, Window window,
XColor color;
int i;
time_t start, now;
XColor color;
int i;
time_t start, now;
+ int orig_pause;
memset(&mi, 0, sizeof(mi));
mi.dpy = dpy;
memset(&mi, 0, sizeof(mi));
mi.dpy = dpy;
@@
-321,6
+322,7
@@
xlockmore_screenhack (Display *dpy, Window window,
mi.pause = 0;
else if (mi.pause > 100000000)
mi.pause = 100000000;
mi.pause = 0;
else if (mi.pause > 100000000)
mi.pause = 100000000;
+ orig_pause = mi.pause;
xlockmore_read_resources ();
xlockmore_read_resources ();
@@
-335,6
+337,7
@@
xlockmore_screenhack (Display *dpy, Window window,
XSync(dpy, False);
if (mi.pause)
usleep(mi.pause);
XSync(dpy, False);
if (mi.pause)
usleep(mi.pause);
+ mi.pause = orig_pause;
if (hack_free)
{
if (hack_free)
{