*** empty log message ***

svn path=/trunk/boinc/; revision=4720
This commit is contained in:
Rom Walton 2004-12-03 00:59:34 +00:00
parent 0b6ad56a62
commit 485f70e77c
1 changed files with 3 additions and 3 deletions

View File

@ -775,7 +775,7 @@ LRESULT CScreensaver::PrimarySaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPA
case 2: case 2:
HWND hwndBOINCGraphicsWindow = NULL; HWND hwndBOINCGraphicsWindow = NULL;
HWND hwndActiveWindow = NULL; HWND hwndForegroundWindow = NULL;
int iReturnValue = 0; int iReturnValue = 0;
int iStatus = 0; int iStatus = 0;
@ -828,8 +828,8 @@ LRESULT CScreensaver::PrimarySaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPA
hwndBOINCGraphicsWindow = FindWindow( BOINC_WINDOW_CLASS_NAME, NULL ); hwndBOINCGraphicsWindow = FindWindow( BOINC_WINDOW_CLASS_NAME, NULL );
if ( NULL != hwndBOINCGraphicsWindow ) if ( NULL != hwndBOINCGraphicsWindow )
{ {
hwndActiveWindow = GetForegroundWindow(); hwndForegroundWindow = GetForegroundWindow();
if ( hwndActiveWindow != hwndBOINCGraphicsWindow ) if ( hwndForegroundWindow != hwndBOINCGraphicsWindow )
{ {
SetForegroundWindow(hwndBOINCGraphicsWindow); SetForegroundWindow(hwndBOINCGraphicsWindow);
} }