[ros-diffs] [cfinck] 42979: Michael Bruestle (michael_bruestle at yahoo.com) - Properly handle multiple monitors in the screensavers (expand the screensaver window to all monitors)

cfinck at svn.reactos.org cfinck at svn.reactos.org
Tue Sep 1 20:48:36 CEST 2009


Author: cfinck
Date: Tue Sep  1 20:48:36 2009
New Revision: 42979

URL: http://svn.reactos.org/svn/reactos?rev=42979&view=rev
Log:
Michael Bruestle (michael_bruestle at yahoo.com)
- Properly handle multiple monitors in the screensavers (expand the screensaver window to all monitors)

Modified:
    trunk/reactos/lib/sdk/scrnsave/scrnsave.c

Modified: trunk/reactos/lib/sdk/scrnsave/scrnsave.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/sdk/scrnsave/scrnsave.c?rev=42979&r1=42978&r2=42979&view=diff
==============================================================================
--- trunk/reactos/lib/sdk/scrnsave/scrnsave.c [iso-8859-1] (original)
+++ trunk/reactos/lib/sdk/scrnsave/scrnsave.c [iso-8859-1] Tue Sep  1 20:48:36 2009
@@ -174,8 +174,8 @@
     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;
     }
 




More information about the Ros-diffs mailing list