Author: gadamopoulos Date: Wed Feb 27 17:18:21 2013 New Revision: 58376
URL: http://svn.reactos.org/svn/reactos?rev=58376&view=rev Log: [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
Modified: trunk/reactos/win32ss/user/ntuser/desktop.c
Modified: trunk/reactos/win32ss/user/ntuser/desktop.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/user/ntuser/desktop... ============================================================================== --- trunk/reactos/win32ss/user/ntuser/desktop.c [iso-8859-1] (original) +++ trunk/reactos/win32ss/user/ntuser/desktop.c [iso-8859-1] Wed Feb 27 17:18:21 2013 @@ -1294,8 +1294,6 @@ 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