* replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRUNNING

since newer mingw dropped the older define.  Both are defined to 97
This commit is contained in:
Tony J. White = 2006-12-27 23:20:33 +00:00
parent 15fe54a6e7
commit bb3b3be38a

View file

@ -55,7 +55,7 @@ static void WIN_DisableAltTab( void )
{ {
BOOL old; BOOL old;
SystemParametersInfo( SPI_SCREENSAVERRUNNING, 1, &old, 0 ); SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 1, &old, 0 );
} }
s_alttab_disabled = qtrue; s_alttab_disabled = qtrue;
} }
@ -72,7 +72,7 @@ static void WIN_EnableAltTab( void )
{ {
BOOL old; BOOL old;
SystemParametersInfo( SPI_SCREENSAVERRUNNING, 0, &old, 0 ); SystemParametersInfo( SPI_SETSCREENSAVERRUNNING, 0, &old, 0 );
} }
s_alttab_disabled = qfalse; s_alttab_disabled = qfalse;