Commit in reactos/subsys/win32k on MAIN
ntuser/desktop.c+2-21.24 -> 1.25
objects/brush.c+5-11.40 -> 1.41
+7-3
2 modified files
- Change DPRINT1 to DPRINT in NtUserCreateDesktop.
- Make the pattern brush bitmap objects global to prevent ownership problems.

reactos/subsys/win32k/ntuser
desktop.c 1.24 -> 1.25
diff -u -r1.24 -r1.25
--- desktop.c	20 Nov 2004 16:46:06 -0000	1.24
+++ desktop.c	5 Dec 2004 00:20:41 -0000	1.25
@@ -16,7 +16,7 @@
  *  along with this program; if not, write to the Free Software
  *  Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- *  $Id: desktop.c,v 1.24 2004/11/20 16:46:06 weiden Exp $
+ *  $Id: desktop.c,v 1.25 2004/12/05 00:20:41 navaraf Exp $
  *
  *  COPYRIGHT:        See COPYING in the top level directory
  *  PROJECT:          ReactOS kernel
@@ -496,7 +496,7 @@
   CSRSS_API_REQUEST Request;
   CSRSS_API_REPLY Reply;
   
-  DPRINT1("CreateDesktop: %wZ\n", lpszDesktopName);
+  DPRINT("CreateDesktop: %wZ\n", lpszDesktopName);
 
   Status = IntValidateWindowStationHandle(
     hWindowStation,

reactos/subsys/win32k/objects
brush.c 1.40 -> 1.41
diff -u -r1.40 -r1.41
--- brush.c	14 Jul 2004 20:48:57 -0000	1.40
+++ brush.c	5 Dec 2004 00:20:41 -0000	1.41
@@ -17,7 +17,7 @@
  * along with this program; if not, write to the Free Software
  * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
  *
- * $Id: brush.c,v 1.40 2004/07/14 20:48:57 navaraf Exp $
+ * $Id: brush.c,v 1.41 2004/12/05 00:20:41 navaraf Exp $
  */
 #include <w32k.h>
 
@@ -39,6 +39,7 @@
   if(pBrush->flAttrs & (GDIBRUSH_IS_HATCH | GDIBRUSH_IS_BITMAP))
   {
     ASSERT(pBrush->hbmPattern);
+    GDIOBJ_SetOwnership(pBrush->hbmPattern, PsGetCurrentProcess());
     NtGdiDeleteObject(pBrush->hbmPattern);
   }
   
@@ -161,6 +162,9 @@
          UNIMPLEMENTED;
    }
 
+   if (hPattern != 0)
+      GDIOBJ_SetOwnership(hPattern, NULL);
+   
    BRUSHOBJ_UnlockBrush(hBrush);
    return hBrush;
 }
CVSspam 0.2.8