mirror of
https://github.com/UberGames/ioef.git
synced 2024-11-24 13:11:30 +00:00
* 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:
parent
15fe54a6e7
commit
bb3b3be38a
1 changed files with 2 additions and 2 deletions
|
@ -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;
|
||||||
|
|
Loading…
Reference in a new issue