summaryrefslogtreecommitdiffstats
path: root/winsup/w32api/lib
diff options
context:
space:
mode:
Diffstat (limited to 'winsup/w32api/lib')
-rw-r--r--winsup/w32api/lib/scrnsave.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/w32api/lib/scrnsave.c b/winsup/w32api/lib/scrnsave.c
index 53e555d7d..fe3348b4e 100644
--- a/winsup/w32api/lib/scrnsave.c
+++ b/winsup/w32api/lib/scrnsave.c
@@ -182,7 +182,7 @@ static int LaunchScreenSaver(HWND hParent)
/* don't allow other tasks to get into the foreground */
if (w95 && !fChildPreview)
- SystemParametersInfo(SPI_SCREENSAVERRUNNING, TRUE, &foo, 0);
+ SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, TRUE, &foo, 0);
msg.wParam = 0;
@@ -231,7 +231,7 @@ static int LaunchScreenSaver(HWND hParent)
restore:
/* restore system */
if (w95 && !fChildPreview)
- SystemParametersInfo(SPI_SCREENSAVERRUNNING, FALSE, &foo, 0);
+ SystemParametersInfo(SPI_SETSCREENSAVERRUNNING, FALSE, &foo, 0);
FreeLibrary(hPwdLib);
return msg.wParam;
}