Michael Bruestle (michael_bruestle@yahoo.com)
authorColin Finck <colin@reactos.org>
Tue, 1 Sep 2009 18:48:36 +0000 (18:48 +0000)
committerColin Finck <colin@reactos.org>
Tue, 1 Sep 2009 18:48:36 +0000 (18:48 +0000)
- Properly handle multiple monitors in the screensavers (expand the screensaver window to all monitors)

svn path=/trunk/; revision=42979

reactos/lib/sdk/scrnsave/scrnsave.c

index 85159f3..8538145 100644 (file)
@@ -174,8 +174,8 @@ static int LaunchScreenSaver(HWND hParent)
     else
     {
         style = WS_POPUP;
-        rc.right = GetSystemMetrics(SM_CXSCREEN);
-        rc.bottom = GetSystemMetrics(SM_CYSCREEN);
+        rc.right = GetSystemMetrics(SM_CXVIRTUALSCREEN);
+        rc.bottom = GetSystemMetrics(SM_CYVIRTUALSCREEN);
         style |= WS_VISIBLE;
     }