X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fpedal.c;h=87820bec332ed70b47c7c51022488de77020086f;hb=aa75c7476aeaa84cf3abc192b376a8b03c325213;hp=7020bf2f30f3c1b3669055cba985d2d548bb058e;hpb=49f5b54f312fe4ac2e9bc47581a72451bd0e8439;p=xscreensaver diff --git a/hacks/pedal.c b/hacks/pedal.c index 7020bf2f..87820bec 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 HAVE_MOBILE + "*ignoreRotation: True", +#endif 0 };