- Do not set the current thread desktop automatically the first time CreateDesktop is called. The caller is supposed to call SetThreadDesktop to specify which desktop should be used

svn path=/trunk/; revision=58376
This commit is contained in:
Giannis Adamopoulos 2013-02-27 17:18:21 +00:00
parent 1e1cab3901
commit 3a2e6d102f

View file

@ -1294,8 +1294,6 @@ NtUserCreateDesktop(
RETURN(NULL);
}
if (!ptiCurrent->rpdesk) IntSetThreadDesktop(hdesk,FALSE);
/* Get the desktop window class. The thread desktop does not belong to any desktop
* so the classes created there (including the desktop class) are allocated in the shared heap
* It would cause problems if we used a class that belongs to the caller