Author: fireball
Date: Thu Aug 27 10:49:44 2009
New Revision: 42950
URL:
http://svn.reactos.org/svn/reactos?rev=42950&view=rev
Log:
[explorer]
- Don't paint desktop itself but rely on csrss's Desktop Thread to do this for
now.
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/expl…
==============================================================================
--- 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] Thu Aug
27 10:49:44 2009
@@ -298,7 +298,8 @@
void BackgroundWindow::DrawDesktopBkgnd(HDC hdc)
{
- PaintDesktop(hdc);
+ // let csrss draw the background. A special hack for arwinss and wine
+ //PaintDesktop(hdc);
/* special solid background
HBRUSH bkgndBrush = CreateSolidBrush(RGB(0,32,160)); // dark blue
@@ -324,8 +325,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);