projects
/
xscreensaver
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
http://ftp.x.org/contrib/applications/xscreensaver-3.02.tar.gz
[xscreensaver]
/
driver
/
timers.c
diff --git
a/driver/timers.c
b/driver/timers.c
index c909287cc2968290ced54bb7fb8cb2b173df555a..205906b527da4d5fabeef7cc395474ff10dc7746 100644
(file)
--- a/
driver/timers.c
+++ b/
driver/timers.c
@@
-476,7
+476,9
@@
sleep_until_idle (saver_info *si, Bool until_idle_p)
*/
if (!until_idle_p)
{
*/
if (!until_idle_p)
{
- if (si->demoing_p && event.xany.type == MotionNotify)
+ if (si->demoing_p &&
+ (event.xany.type == MotionNotify ||
+ event.xany.type == KeyRelease))
/* When we're demoing a single hack, mouse motion doesn't
cause deactivation. Only clicks and keypresses do. */
;
/* When we're demoing a single hack, mouse motion doesn't
cause deactivation. Only clicks and keypresses do. */
;