X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=hacks%2Fzoom.c;h=e2c4203250c8dcbaa7807c4de8d09287ba4088c1;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hp=73b27b05f3e417f25f1eca51fbd34c7c1a85fbb4;hpb=50be9bb40dc60130c99ffa568e6677779904ff70;p=xscreensaver diff --git a/hacks/zoom.c b/hacks/zoom.c index 73b27b05..e2c42032 100644 --- a/hacks/zoom.c +++ b/hacks/zoom.c @@ -218,6 +218,12 @@ zoom_reshape (Display *dpy, Window window, void *closure, static Bool zoom_event (Display *dpy, Window window, void *closure, XEvent *event) { + struct state *st = (struct state *) closure; + if (screenhack_event_helper (dpy, window, event)) + { + st->start_time = 0; + return True; + } return False; } @@ -249,6 +255,10 @@ static const char *zoom_defaults[] = { "*pixspacey: 2", "*lensoffsetx: 5", "*lensoffsety: 5", +#ifdef USE_IPHONE + "*ignoreRotation: True", + "*rotateImages: True", +#endif 0 };