From 5245b5cfaad539cae7ca41a6cfbaaa6186fe1dc7 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Sat, 18 Mar 2006 23:14:42 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=9687 --- checkin_notes | 13 +++++++++++++ client/ss_logic.C | 6 ++++++ 2 files changed, 19 insertions(+) diff --git a/checkin_notes b/checkin_notes index 4c59c015dd..aba8c91038 100755 --- a/checkin_notes +++ b/checkin_notes @@ -3000,3 +3000,16 @@ David 17 Mar 2006 acct_mgr.C,h doc/ acct_mgt.php + +Rom 17 Mar 2006 + - Bug Fix: If graphics have been disabled because the client configuration + cannot handle them, then report back to the screensaver that graphics + are not available instead of cycling through them. + + This also reduces the bug surface area for applications who are having + problems with application graphics since it avoids spinning up the + graphics window even though it cannot be seen. + + client/ + ss_logic.C + diff --git a/client/ss_logic.C b/client/ss_logic.C index 82ac4d434b..66547957f7 100644 --- a/client/ss_logic.C +++ b/client/ss_logic.C @@ -128,6 +128,12 @@ void SS_LOGIC::poll() { return; } + if (gstate.disable_graphics) { + reset(); + ss_status = SS_STATUS_NOGRAPHICSAPPSEXECUTING; + return; + } + // check if it's time to go to black screen //