From d0e0254ee2bb2962cb081f5c70b8b2a5ad053392 Mon Sep 17 00:00:00 2001 From: David Anderson Date: Thu, 8 Feb 2007 16:38:02 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=12053 --- checkin_notes | 7 +++++++ client/ss_logic.C | 2 +- 2 files changed, 8 insertions(+), 1 deletion(-) diff --git a/checkin_notes b/checkin_notes index 0223354caa..62ef670e28 100755 --- a/checkin_notes +++ b/checkin_notes @@ -1548,3 +1548,10 @@ David 7 Feb 2008 html/inc forum_email.inc + +David 8 Feb 2008 + - core client: fix bug where screensaver would turn on an off + if CPU throttling being used + + client/ + ss_logic.C diff --git a/client/ss_logic.C b/client/ss_logic.C index ae28facd9f..bf40ec89fc 100644 --- a/client/ss_logic.C +++ b/client/ss_logic.C @@ -140,7 +140,7 @@ void SS_LOGIC::poll() { if (!do_ss) return; - if (gstate.tasks_suspended) { + if (gstate.suspend_reason & (~SUSPEND_REASON_CPU_USAGE_LIMIT)) { reset(); ss_status = SS_STATUS_BOINCSUSPENDED; return;