mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 17:34:57 +00:00
Fixed calculating client area size for minimized windows.
svn path=/trunk/; revision=7265
This commit is contained in:
parent
ca3586e5a9
commit
2ff0dc4d33
1 changed files with 5 additions and 0 deletions
|
@ -525,6 +525,11 @@ DefWndNCCalcSize(HWND hWnd, BOOL CalcSizeStruct, RECT *Rect)
|
||||||
if (Rect->left > Rect->right)
|
if (Rect->left > Rect->right)
|
||||||
Rect->right = Rect->left;
|
Rect->right = Rect->left;
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
Rect->right = Rect->left;
|
||||||
|
Rect->bottom = Rect->top;
|
||||||
|
}
|
||||||
|
|
||||||
return Result;
|
return Result;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue