Register the correct windows, fixes the problem that explorer_new's desktop was hidin...
authorTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 10 Jan 2009 03:39:01 +0000 (03:39 +0000)
committerTimo Kreuzer <timo.kreuzer@reactos.org>
Sat, 10 Jan 2009 03:39:01 +0000 (03:39 +0000)
svn path=/trunk/; revision=38675

reactos/dll/win32/shell32/desktop.c

index df8a343..3e69ba4 100644 (file)
@@ -281,8 +281,8 @@ SHDESK_CreateDeskWnd(SHDESK *This)
     if (SUCCEEDED (IShellDesktop_GetTrayWindow(This->ShellDesk,
                                                &hwndTray)))
     {
-        SetShellWindowEx (hwndTray,
-                          This->hWnd);
+        SetShellWindowEx (This->hWnd,
+                          hwndTray); // FIXME: Shouldn't this be the desktop listview?
     }
     return TRUE;
 }