X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fhexadrop.c;h=d9a706c57de80959ec2b8bf7854c55eebf9dbfac;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hp=dd8bfeeac8e7fca5e4aa01b59389ca8a0851d794;hpb=4ade52359b6eba3621566dac79793a33aa4c915f;p=xscreensaver diff --git a/hacks/hexadrop.c b/hacks/hexadrop.c index dd8bfeea..d9a706c5 100644 --- a/hacks/hexadrop.c +++ b/hacks/hexadrop.c @@ -1,4 +1,4 @@ -/* xscreensaver, Copyright (c) 1999-2013 Jamie Zawinski +/* xscreensaver, Copyright (c) 1999-2014 Jamie Zawinski * * Permission to use, copy, modify, distribute, and sell this software and its * documentation for any purpose is hereby granted without fee, provided that @@ -360,7 +360,7 @@ hexadrop_event (Display *dpy, Window window, void *closure, XEvent *event) { state *st = (state *) closure; - if (event->type == ButtonPress || event->type == KeyPress) + if (screenhack_event_helper (dpy, window, event)) { cell *c = st->cells; st->cells = 0;