X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fepicycle.c;h=4f94a907e4abc6aaa0c0513e8499d43f179b406e;hp=288999fa95bbf7220b50769c69d3d950a3600db3;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/epicycle.c b/hacks/epicycle.c index 288999fa..4f94a907 100644 --- a/hacks/epicycle.c +++ b/hacks/epicycle.c @@ -764,7 +764,7 @@ static Bool epicycle_event (Display *dpy, Window window, void *closure, XEvent *e) { struct state *st = (struct state *) closure; - if (e->type == ButtonPress) + if (screenhack_event_helper (dpy, window, e)) { st->restart = 1; return True;