projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
From http://www.jwz.org/xscreensaver/xscreensaver-5.30.tar.gz
[xscreensaver]
/
hacks
/
spotlight.c
diff --git
a/hacks/spotlight.c
b/hacks/spotlight.c
index cbd33f2a2e43857e584ea76f18ac583ff5214377..a47e55c746fc1c410f1dfc24488fd7ff343a39ec 100644
(file)
--- 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)
{
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;
}
return False;
}
@@
-322,6
+328,7
@@
static const char *spotlight_defaults [] = {
"*radius: 125",
#ifdef USE_IPHONE
"*ignoreRotation: True",
"*radius: 125",
#ifdef USE_IPHONE
"*ignoreRotation: True",
+ "*rotateImages: True",
#endif
0
};
#endif
0
};