From 485f70e77ce2350c586e20c88eb0922c7c53b5a3 Mon Sep 17 00:00:00 2001 From: Rom Walton Date: Fri, 3 Dec 2004 00:59:34 +0000 Subject: [PATCH] *** empty log message *** svn path=/trunk/boinc/; revision=4720 --- client/win/win_screensaver.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client/win/win_screensaver.cpp b/client/win/win_screensaver.cpp index 4bf292e034..2dfc64eacd 100755 --- a/client/win/win_screensaver.cpp +++ b/client/win/win_screensaver.cpp @@ -775,7 +775,7 @@ LRESULT CScreensaver::PrimarySaverProc( HWND hWnd, UINT uMsg, WPARAM wParam, LPA case 2: HWND hwndBOINCGraphicsWindow = NULL; - HWND hwndActiveWindow = NULL; + HWND hwndForegroundWindow = NULL; int iReturnValue = 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 ); if ( NULL != hwndBOINCGraphicsWindow ) { - hwndActiveWindow = GetForegroundWindow(); - if ( hwndActiveWindow != hwndBOINCGraphicsWindow ) + hwndForegroundWindow = GetForegroundWindow(); + if ( hwndForegroundWindow != hwndBOINCGraphicsWindow ) { SetForegroundWindow(hwndBOINCGraphicsWindow); }