projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.30.tar.gz
[xscreensaver]
/
hacks
/
substrate.c
diff --git
a/hacks/substrate.c
b/hacks/substrate.c
index 82ea6d9ee81bedf4b2dc720de28e6ae64ad134d9..efe11fc55762e117b8fad1768f208aa8be4fc208 100644
(file)
--- a/
hacks/substrate.c
+++ b/
hacks/substrate.c
@@
-699,6
+699,12
@@
substrate_reshape (Display *dpy, Window window, void *closure,
static Bool
substrate_event (Display *dpy, Window window, void *closure, XEvent *event)
{
static Bool
substrate_event (Display *dpy, Window window, void *closure, XEvent *event)
{
+ struct state *st = (struct state *) closure;
+ if (screenhack_event_helper (dpy, window, event))
+ {
+ st->f->cycles = st->max_cycles;
+ return True;
+ }
return False;
}
return False;
}