Skip to content

Commit

Permalink
* replaced SPI_SCREENSAVERRUNNING with the newer SPI_SETSCREENSAVERRU…
Browse files Browse the repository at this point in the history
…NNING

  since newer mingw dropped the older define.  Both are defined to 97
  • Loading branch information
tjdub committed Dec 27, 2006
1 parent 15fe54a commit bb3b3be
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/win32/win_wndproc.c
Expand Up @@ -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;
}
Expand All @@ -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;
Expand Down

0 comments on commit bb3b3be

Please sign in to comment.