X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fsquiral.c;h=57afa54a5d78835eee0441ec68f0e6775341b4c9;hp=e261f59a8226a49566211748bf55945910a541ad;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/squiral.c b/hacks/squiral.c index e261f59a..57afa54a 100644 --- a/hacks/squiral.c +++ b/hacks/squiral.c @@ -239,6 +239,13 @@ squiral_reshape (Display *dpy, Window window, void *closure, static Bool squiral_event (Display *dpy, Window window, void *closure, XEvent *event) { + struct state *st = (struct state *) closure; + if (screenhack_event_helper (dpy, window, event)) + { + squiral_init_1 (st); + XClearWindow (dpy, window); + return True; + } return False; }