Author: tkreuzer
Date: Tue Apr 20 01:36:31 2010
New Revision: 46954
URL:
http://svn.reactos.org/svn/reactos?rev=46954&view=rev
Log:
[WIN32K]
Fix LPARAM parameter when sending WM_DISPLAYCHANGE, fixes resizing the desktop.
Modified:
branches/reactos-yarotows/subsystems/win32/win32k/ntuser/display.c
Modified: branches/reactos-yarotows/subsystems/win32/win32k/ntuser/display.c
URL:
http://svn.reactos.org/svn/reactos/branches/reactos-yarotows/subsystems/win…
==============================================================================
--- branches/reactos-yarotows/subsystems/win32/win32k/ntuser/display.c [iso-8859-1]
(original)
+++ branches/reactos-yarotows/subsystems/win32/win32k/ntuser/display.c [iso-8859-1] Tue
Apr 20 01:36:31 2010
@@ -777,7 +777,7 @@
co_IntSendMessageTimeout(HWND_BROADCAST,
WM_DISPLAYCHANGE,
(WPARAM)ppdev->gdiinfo.cBitsPixel,
- (LPARAM)(ppdev->gdiinfo.ulHorzRes +
(ppdev->gdiinfo.ulHorzRes << 16)),
+ (LPARAM)(ppdev->gdiinfo.ulHorzRes +
(ppdev->gdiinfo.ulVertRes << 16)),
SMTO_NORMAL,
100,
&ulResult);