diff options
Diffstat (limited to 'code')
-rw-r--r-- | code/win32/win_wndproc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/code/win32/win_wndproc.c b/code/win32/win_wndproc.c index 6811a44..3ff7925 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; |