[ros-diffs] [fireball] 45342: - Disable hacked-up SwitchDesktop implementation for now. During shutdown, winlogon tries to switch to the winlogon (the same and only) desktop which results in a RedrawWindow sending a message to a CSR desktop window which is probably already in the process of being destroyed. Fixes a hang during shutdown (issue #27 in the wiki).
fireball at svn.reactos.org
fireball at svn.reactos.org
Sat Jan 30 14:10:30 CET 2010
Author: fireball
Date: Sat Jan 30 14:10:29 2010
New Revision: 45342
URL: http://svn.reactos.org/svn/reactos?rev=45342&view=rev
Log:
- Disable hacked-up SwitchDesktop implementation for now. During shutdown, winlogon tries to switch to the winlogon (the same and only) desktop which results in a RedrawWindow sending a message to a CSR desktop window which is probably already in the process of being destroyed. Fixes a hang during shutdown (issue #27 in the wiki).
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/win.c?rev=45342&r1=45341&r2=45342&view=diff
==============================================================================
--- branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] Sat Jan 30 14:10:29 2010
@@ -3315,7 +3315,7 @@
hWnd = GetDesktopWindow(/*hDesktop*/);
FIXME("SwitchDesktop(hDesktop %p, desk window %x) stub!\n", hDesktop, hWnd);
-
+#if 0
/* Set foreground window */
SetForegroundWindow(hWnd);
@@ -3328,7 +3328,7 @@
UpdateWindow(hWnd);
RedrawWindow(NULL, NULL, 0, RDW_INVALIDATE | RDW_FRAME | RDW_ERASENOW | RDW_ALLCHILDREN);
-
+#endif
return TRUE;
}
More information about the Ros-diffs
mailing list