Author: mjansen
Date: Sat Jul 22 18:27:32 2017
New Revision: 75390
URL:
http://svn.reactos.org/svn/reactos?rev=75390&view=rev
Log:
[WIN32SS][SHELL32] Fix the location and repaint of the version info shown on the desktop.
Patch by Katayama Hirofumi MZ.
CORE-13567 #resolve #comment Thanks!
Modified:
trunk/reactos/dll/win32/shell32/shelldesktop/CDesktopBrowser.cpp
trunk/reactos/win32ss/user/ntuser/desktop.c
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] Sat Jul
22 18:27:32 2017
@@ -383,6 +383,8 @@
::ShowWindow(m_hWnd, SW_RESTORE);
}
+ ::InvalidateRect(m_hWndShellView, NULL, TRUE);
+
return 0;
}
Modified: trunk/reactos/win32ss/user/ntuser/desktop.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/deskto…
==============================================================================
--- trunk/reactos/win32ss/user/ntuser/desktop.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/user/ntuser/desktop.c [iso-8859-1] Sat Jul 22 18:27:32 2017
@@ -1346,8 +1346,13 @@
if (!UserSystemParametersInfo(SPI_GETWORKAREA, 0, &Rect, 0))
{
+ Rect.left = Rect.top = 0;
Rect.right = UserGetSystemMetrics(SM_CXSCREEN);
Rect.bottom = UserGetSystemMetrics(SM_CYSCREEN);
+ }
+ else
+ {
+ RECTL_vOffsetRect(&Rect, -Rect.left, -Rect.top);
}
/*