Author: fireball Date: Fri Sep 17 19:21:26 2010 New Revision: 48793
URL: http://svn.reactos.org/svn/reactos?rev=48793&view=rev Log: - Revert 42950: "Don't paint desktop itself but rely on csrss's Desktop Thread to do this for now". This hack is not needed anymore after 48791.
Modified: branches/arwinss/reactos/base/shell/explorer/desktop/desktop.cpp
Modified: branches/arwinss/reactos/base/shell/explorer/desktop/desktop.cpp URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/base/shell/explo... ============================================================================== --- branches/arwinss/reactos/base/shell/explorer/desktop/desktop.cpp [iso-8859-1] (original) +++ branches/arwinss/reactos/base/shell/explorer/desktop/desktop.cpp [iso-8859-1] Fri Sep 17 19:21:26 2010 @@ -298,8 +298,7 @@
void BackgroundWindow::DrawDesktopBkgnd(HDC hdc) { - // let csrss draw the background. A special hack for arwinss and wine - //PaintDesktop(hdc); + PaintDesktop(hdc);
/* special solid background HBRUSH bkgndBrush = CreateSolidBrush(RGB(0,32,160)); // dark blue @@ -325,8 +324,8 @@ HWND DesktopWindow::Create() { static IconWindowClass wcDesktop(TEXT("Progman"), IDI_REACTOS, CS_DBLCLKS); - /* (disabled because of small ugly temporary artefacts when hiding start menu)*/ - wcDesktop.hbrBackground = (HBRUSH)(COLOR_BACKGROUND+1); + /* (disabled because of small ugly temporary artefacts when hiding start menu) + wcDesktop.hbrBackground = (HBRUSH)(COLOR_BACKGROUND+1); */
int width = GetSystemMetrics(SM_CXSCREEN); int height = GetSystemMetrics(SM_CYSCREEN);