mirror of
https://github.com/reactos/reactos.git
synced 2024-07-31 00:28:56 +00:00
[win32k]
- 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:
parent
1e1cab3901
commit
3a2e6d102f
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue