diff --git a/checkin_notes b/checkin_notes index eeadc7e0d8..8ab607e831 100644 --- a/checkin_notes +++ b/checkin_notes @@ -8433,3 +8433,10 @@ David 13 Nov 2011 client/ file_names.h cs_scheduler.cpp + +Charlie 14 Nov 2011 + - Mgr: Don't call Simple View specific periodic RPCs when BOINC is + hidden or minimized. + + clientgui/ + MainDocument.cpp diff --git a/clientgui/MainDocument.cpp b/clientgui/MainDocument.cpp index cf3c6183e1..9046e2c27c 100644 --- a/clientgui/MainDocument.cpp +++ b/clientgui/MainDocument.cpp @@ -1014,9 +1014,8 @@ void CMainDocument::RunPeriodicRPCs(int frameRefreshRate) { ts = dtNow - m_dtLastFrameViewRefreshRPCTime; if (ts.GetMilliseconds() < (frameRefreshRate - 500)) return; - // TODO: modify SimpleGUI to not do direct RPC calls when hidden / minimized - // Don't do periodic RPC calls when hidden / minimized unless SimpleGui - if (! ((currentTabView & VW_SGUI) || pFrame->IsShown()) ) return; + // Don't do periodic RPC calls when hidden / minimized + if (!pFrame->IsShown()) return; m_dtLastFrameViewRefreshRPCTime = dtNow;