Author: jimtabor
Date: Sat Mar 26 00:43:56 2011
New Revision: 51145
URL:
http://svn.reactos.org/svn/reactos?rev=51145&view=rev
Log:
[Csrss|Win32k]
- Enable the desktop class and set the ReactOS variant of csrss back to local desktop
class. Now all class tests pass, see bug 4778.
Modified:
trunk/reactos/subsystems/win32/csrss/win32csr/desktopbg.c
trunk/reactos/subsystems/win32/win32k/ntuser/class.c
Modified: trunk/reactos/subsystems/win32/csrss/win32csr/desktopbg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/csrss/win…
==============================================================================
--- trunk/reactos/subsystems/win32/csrss/win32csr/desktopbg.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/csrss/win32csr/desktopbg.c [iso-8859-1] Sat Mar 26
00:43:56 2011
@@ -136,7 +136,7 @@
* Create the desktop window class
*/
Class.cbSize = sizeof(WNDCLASSEXW);
- Class.style = CS_GLOBALCLASS;
+ Class.style = 0; // Local Class
Class.lpfnWndProc = DtbgWindowProc;
Class.cbClsExtra = 0;
Class.cbWndExtra = 0;
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/class.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/class.c [iso-8859-1] Sat Mar 26 00:43:56
2011
@@ -19,15 +19,15 @@
REGISTER_SYSCLASS DefaultServerClasses[] =
{
-/* { ((PWSTR)((ULONG_PTR)(WORD)(0x8001))),
+ { ((PWSTR)((ULONG_PTR)(WORD)(0x8001))),
CS_GLOBALCLASS|CS_DBLCLKS,
NULL,
0,
IDC_ARROW,
- (HBRUSH)(COLOR_BACKGROUND+1),
+ (HBRUSH)(COLOR_BACKGROUND + 1),
FNID_DESKTOP,
ICLS_DESKTOP
- },*/
+ },
{ ((PWSTR)((ULONG_PTR)(WORD)(0x8003))),
CS_VREDRAW|CS_HREDRAW|CS_SAVEBITS,
NULL, // Use User32 procs