Author: fireball Date: Wed Aug 5 14:57:11 2009 New Revision: 42406
URL: http://svn.reactos.org/svn/reactos?rev=42406&view=rev Log: - Make new desktop's window foreground in SwitchDesktop.
Modified: branches/arwinss/reactos/dll/win32/user32/win.c
Modified: branches/arwinss/reactos/dll/win32/user32/win.c URL: http://svn.reactos.org/svn/reactos/branches/arwinss/reactos/dll/win32/user32... ============================================================================== --- branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] (original) +++ branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] Wed Aug 5 14:57:11 2009 @@ -3405,6 +3405,10 @@
FIXME("SwitchDesktop(hDesktop %p, desk window %x) stub!\n", hDesktop, hWnd);
+ /* Set foreground window */ + SetForegroundWindow(hWnd); + + /* Bring it to top */ SetWindowPos(hWnd, NULL, 0, 0, 0,