diff --git a/source/Components/AvalonDock/Controls/Shell/WindowChromeWorker.cs b/source/Components/AvalonDock/Controls/Shell/WindowChromeWorker.cs index 3ae22dda..a13d593f 100644 --- a/source/Components/AvalonDock/Controls/Shell/WindowChromeWorker.cs +++ b/source/Components/AvalonDock/Controls/Shell/WindowChromeWorker.cs @@ -418,13 +418,6 @@ private IntPtr _HandleNCCalcSize(WM uMsg, IntPtr wParam, IntPtr lParam, out bool // Since we always want the client size to equal the window size, we can unconditionally handle it // without having to modify the parameters. handled = true; - if (wParam != IntPtr.Zero) - { - var client = (RECT)Marshal.PtrToStructure(lParam, typeof(RECT)); - client.Bottom++; - Marshal.StructureToPtr(client, lParam, false); - return IntPtr.Zero; - } return new IntPtr((int)WVR.REDRAW); }