Browse Source

Opps

pull/2128/head
Nikita Tsukanov 8 years ago
parent
commit
6254036fb5
  1. 1
      src/Windows/Avalonia.Win32/WindowImpl.cs

1
src/Windows/Avalonia.Win32/WindowImpl.cs

@ -928,7 +928,6 @@ namespace Avalonia.Win32
if (_decorated)
AdjustWindowRectEx(ref newRect, (uint)style, false,
GetWindowLong(_hwnd, (int)WindowLongParam.GWL_EXSTYLE));
_changingDecorations = true;
SetWindowPos(_hwnd, IntPtr.Zero, newRect.left, newRect.top, newRect.Width, newRect.Height,
SetWindowPosFlags.SWP_NOZORDER | SetWindowPosFlags.SWP_NOACTIVATE | SetWindowPosFlags.SWP_FRAMECHANGED);
frameUpdated = true;

Loading…
Cancel
Save