Author: fireball
Date: Tue Jul 28 16:36:17 2009
New Revision: 42274
URL:
http://svn.reactos.org/svn/reactos?rev=42274&view=rev
Log:
- SwitchDesktop: Fix SetWindowPos call to not alter desktop's height and width but
just make it visible.
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/user3…
==============================================================================
--- branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] (original)
+++ branches/arwinss/reactos/dll/win32/user32/win.c [iso-8859-1] Tue Jul 28 16:36:17 2009
@@ -3407,9 +3407,9 @@
SetWindowPos(hWnd,
NULL, 0, 0,
- 800,//nmh->ShowDesktop.Width,
- 600,//nmh->ShowDesktop.Height,
- SWP_NOACTIVATE | SWP_NOZORDER | SWP_SHOWWINDOW);
+ 0,
+ 0,
+ SWP_NOMOVE | SWP_NOSIZE | SWP_SHOWWINDOW);
UpdateWindow(hWnd);
RedrawWindow(NULL, NULL, 0, RDW_INVALIDATE | RDW_FRAME | RDW_ERASENOW |
RDW_ALLCHILDREN);