X-Git-Url: http://git.hungrycats.org/cgi-bin/gitweb.cgi?p=xscreensaver;a=blobdiff_plain;f=driver%2Ftimers.c;h=205906b527da4d5fabeef7cc395474ff10dc7746;hp=c909287cc2968290ced54bb7fb8cb2b173df555a;hb=cf665b135b41d4f42067f9d9a8111c9602777cc1;hpb=c31d10b6605cd8dc1a7b61fef4256f06198767e5 diff --git a/driver/timers.c b/driver/timers.c index c909287c..205906b5 100644 --- 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 (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. */ ;