From bb3b3be38aabecbb28ab7dc56d4a5c63a59a00ea Mon Sep 17 00:00:00 2001 From: "Tony J. White =" Date: Wed, 27 Dec 2006 23:20:33 +0000 Subject: [PATCH] * replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNING since newer mingw dropped the older define. Both are defined to 97 --- code/win32/win_wndproc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/code/win32/win_wndproc.c b/code/win32/win_wndproc.c index 6811a447..3ff79252 100644 --- a/code/win32/win_wndproc.c +++ b/code/win32/win_wndproc.c @@ -55,7 +55,7 @@ static void WIN_DisableAltTab( void ) { BOOL old; - SystemParametersInfo( SPI_SCREENSAVERRUNNING, 1, &old, 0 ); + SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 1, &old, 0 ); } s_alttab_disabled = qtrue; } @@ -72,7 +72,7 @@ static void WIN_EnableAltTab( void ) { BOOL old; - SystemParametersInfo( SPI_SCREENSAVERRUNNING, 0, &old, 0 ); + SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 0, &old, 0 ); } s_alttab_disabled = qfalse;