X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpedal.c;h=745b99380b4dc37e3dc3eb474d43d7b1d011f287;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hp=7020bf2f30f3c1b3669055cba985d2d548bb058e;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/pedal.c b/hacks/pedal.c index 7020bf2f..745b9938 100644 --- a/hacks/pedal.c +++ b/hacks/pedal.c @@ -289,6 +289,12 @@ pedal_reshape (Display *dpy, Window window, void *closure, static Bool pedal_event (Display *dpy, Window window, void *closure, XEvent *event) { + struct state *st = (struct state *) closure; + if (screenhack_event_helper (dpy, window, event)) + { + st->erase_p = 1; + return True; + } return False; } @@ -309,8 +315,12 @@ pedal_free (Display *dpy, Window window, void *closure) static const char *pedal_defaults [] = { ".background: black", ".foreground: white", + "*fpsSolid: true", "*delay: 5", "*maxlines: 1000", +#ifdef USE_IPHONE + "*ignoreRotation: True", +#endif 0 };