Author: jimtabor
Date: Sun Nov 30 22:57:58 2008
New Revision: 37788
URL:
http://svn.reactos.org/svn/reactos?rev=37788&view=rev
Log:
- Patch by hto: User32: MDICascade() bug, see bug 3919.
Modified:
trunk/reactos/dll/win32/user32/windows/mdi.c
Modified: trunk/reactos/dll/win32/user32/windows/mdi.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/user32/windows/m…
==============================================================================
--- trunk/reactos/dll/win32/user32/windows/mdi.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/user32/windows/mdi.c [iso-8859-1] Sun Nov 30 22:57:58 2008
@@ -746,10 +746,11 @@
/* walk the list (backwards) and move windows */
for (i = total - 1; i >= 0; i--)
{
+ MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL);
+
TRACE("move %p to (%ld,%ld) size [%ld,%ld]\n",
win_array[i], pos[0].x, pos[0].y, pos[1].x, pos[1].y);
- MDI_CalcDefaultChildPos(client, n++, pos, delta, NULL);
SetWindowPos( win_array[i], 0, pos[0].x, pos[0].y, pos[1].x, pos[1].y,
SWP_DRAWFRAME | SWP_NOACTIVATE | SWP_NOZORDER);
}