X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fccurve.c;h=23b53e84da9f2bfdb92344fa646cba5239c8ea19;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hp=d17bda5e895ad6a4aa3dd3191d8330007c9ce17c;hpb=4ade52359b6eba3621566dac79793a33aa4c915f;p=xscreensaver diff --git a/hacks/ccurve.c b/hacks/ccurve.c index d17bda5e..23b53e84 100644 --- a/hacks/ccurve.c +++ b/hacks/ccurve.c @@ -827,6 +827,12 @@ ccurve_reshape (Display *dpy, Window window, void *closure, static Bool ccurve_event (Display *dpy, Window window, void *closure, XEvent *event) { + struct state *st = (struct state *) closure; + if (screenhack_event_helper (dpy, window, event)) + { + st->draw_index = 0; + return True; + } return False; } @@ -843,7 +849,7 @@ static const char *ccurve_defaults [] = ".delay: 3", ".pause: 0.4", ".limit: 200000", -#ifdef USE_IPHONE +#ifdef HAVE_MOBILE "*ignoreRotation: True", #endif 0