*** empty log message ***

svn path=/trunk/boinc/; revision=4719
This commit is contained in:
Rom Walton 2004-12-03 00:57:54 +00:00
parent 6d31cb5666
commit 0b6ad56a62
2 changed files with 2 additions and 13 deletions

View File

@ -774,7 +774,8 @@ LRESULT CScreensaver::PrimarySaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPA
return 0;
case 2:
HWND hwndBOINCAppWindow = NULL;
HWND hwndBOINCGraphicsWindow = NULL;
HWND hwndActiveWindow = NULL;
int iReturnValue = 0;
int iStatus = 0;
@ -785,13 +786,6 @@ LRESULT CScreensaver::PrimarySaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPA
m_bErrorMode = FALSE;
m_hrError = 0;
hwndBOINCAppWindow = ::FindWindow( BOINC_WINDOW_CLASS_NAME, NULL );
if ( NULL != hwndBOINCAppWindow )
{
BOINCTRACE(_T("CScreensaver::PrimarySaverProc - BOINC Application Window Detected\n"));
::SetForegroundWindow( hwndBOINCAppWindow );
}
// Lets try and get the current state of the CC
if (m_bResetCoreState)
{
@ -831,9 +825,6 @@ LRESULT CScreensaver::PrimarySaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPA
switch (iStatus)
{
case SS_STATUS_ENABLED:
HWND hwndBOINCGraphicsWindow = NULL;
HWND hwndActiveWindow = NULL;
hwndBOINCGraphicsWindow = FindWindow( BOINC_WINDOW_CLASS_NAME, NULL );
if ( NULL != hwndBOINCGraphicsWindow )
{

View File

@ -55,8 +55,6 @@
#define SS_STATUS_NOGRAPHICSAPPSEXECUTING 7
#define SS_STATUS_QUIT 8
#define BOINC_WINDOW_CLASS_NAME "BOINC_app"
struct GUI_URL {
std::string name;
std::string description;