Author: gadamopoulos
Date: Mon Mar 13 21:04:35 2017
New Revision: 74164
URL:
http://svn.reactos.org/svn/reactos?rev=74164&view=rev
Log:
[SHELL32] -Fix redrawing the desktop when its size changes. This was broken in 72834.
Modified:
trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
Modified: trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/shell32/shelldes…
==============================================================================
--- trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp [iso-8859-1]
(original)
+++ trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp [iso-8859-1] Mon Mar
13 21:04:35 2017
@@ -157,8 +157,8 @@
GetSystemMetrics(SM_YVIRTUALSCREEN) +
GetSystemMetrics(SM_CYVIRTUALSCREEN));
}
- ::MoveWindow(m_hWnd, rcNewSize.left, rcNewSize.top, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, FALSE);
- ::MoveWindow(m_hWndShellView, 0, 0, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, FALSE);
+ ::MoveWindow(m_hWnd, rcNewSize.left, rcNewSize.top, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, TRUE);
+ ::MoveWindow(m_hWndShellView, 0, 0, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, TRUE);
if (cMonitors != 1)
{
@@ -176,8 +176,8 @@
#else
SystemParametersInfoW(SPI_GETWORKAREA, 0, &rcNewSize, 0);
- ::MoveWindow(m_hWnd, rcNewSize.left, rcNewSize.top, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, FALSE);
- ::MoveWindow(m_hWndShellView, 0, 0, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, FALSE);
+ ::MoveWindow(m_hWnd, rcNewSize.left, rcNewSize.top, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, TRUE);
+ ::MoveWindow(m_hWndShellView, 0, 0, rcNewSize.right - rcNewSize.left,
rcNewSize.bottom - rcNewSize.top, TRUE);
#endif
return S_OK;