X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=hacks%2Fspotlight.c;h=a47e55c746fc1c410f1dfc24488fd7ff343a39ec;hp=cbd33f2a2e43857e584ea76f18ac583ff5214377;hb=6afd6db0ae9396cd7ff897ade597cd5483f49b0e;hpb=dba664f31aa87285db4d76cf8c5e66335299703a diff --git a/hacks/spotlight.c b/hacks/spotlight.c index cbd33f2a..a47e55c7 100644 --- a/hacks/spotlight.c +++ b/hacks/spotlight.c @@ -290,6 +290,12 @@ spotlight_reshape (Display *dpy, Window window, void *closure, static Bool spotlight_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; } @@ -322,6 +328,7 @@ static const char *spotlight_defaults [] = { "*radius: 125", #ifdef USE_IPHONE "*ignoreRotation: True", + "*rotateImages: True", #endif 0 };