Commit in reactos/subsys on MAIN
csrss/win32csr/desktopbg.c+14-111.7 -> 1.8
win32k/ntuser/msgqueue.c+6-11.92 -> 1.93
+20-12
2 modified files
handle WM_SETCUROR messages for the desktop window

reactos/subsys/csrss/win32csr
desktopbg.c 1.7 -> 1.8
diff -u -r1.7 -r1.8
--- desktopbg.c	9 Apr 2004 20:03:16 -0000	1.7
+++ desktopbg.c	8 May 2004 19:35:32 -0000	1.8
@@ -1,4 +1,4 @@
-/* $Id: desktopbg.c,v 1.7 2004/04/09 20:03:16 navaraf Exp $
+/* $Id: desktopbg.c,v 1.8 2004/05/08 19:35:32 weiden Exp $
  *
  * reactos/subsys/csrss/win32csr/desktopbg.c
  *
@@ -53,11 +53,11 @@
 
   switch(Msg)
     {
-      case WM_NCCREATE:
-        Result = (LRESULT) TRUE;
-        break;
-      case WM_CREATE:
-        Result = 0;
+      case WM_ERASEBKGND:
+        {
+          PaintDesktop((HDC)wParam);
+          Result = 1;
+        }
         break;
       case WM_PAINT:
         {
@@ -68,11 +68,14 @@
           Result = 0;
         }
         break;
-      case WM_ERASEBKGND:
-        {
-          PaintDesktop((HDC)wParam);
-          Result = 1;
-        }
+      case WM_SETCURSOR:
+	Result = (LRESULT) SetCursor(LoadCursorW(0, (LPCWSTR)IDC_ARROW));
+        break;
+      case WM_NCCREATE:
+        Result = (LRESULT) TRUE;
+        break;
+      case WM_CREATE:
+        Result = 0;
         break;
       case PM_SHOW_DESKTOP:
         Result = ! SetWindowPos(Wnd,

reactos/subsys/win32k/ntuser
msgqueue.c 1.92 -> 1.93
diff -u -r1.92 -r1.93
--- msgqueue.c	29 Apr 2004 22:42:51 -0000	1.92
+++ msgqueue.c	8 May 2004 19:35:32 -0000	1.93
@@ -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: msgqueue.c,v 1.92 2004/04/29 22:42:51 weiden Exp $
+/* $Id: msgqueue.c,v 1.93 2004/05/08 19:35:32 weiden Exp $
  *
  * COPYRIGHT:        See COPYING in the top level directory
  * PROJECT:          ReactOS kernel
@@ -257,6 +257,11 @@
     else
     {
       WinPosWindowFromPoint(ScopeWin, NULL, &Message->Msg.pt, &Window);
+      if(Window == NULL)
+      {
+        Window = ScopeWin;
+        IntReferenceWindowObject(Window);
+      }
     }
   }
   else
CVSspam 0.2.8