Fix window resize issue

This commit is contained in:
Jaex 2022-08-04 00:55:18 +03:00
parent b0024b5603
commit 40d580b5a9

View file

@ -197,7 +197,7 @@ private void AutoSizeForm()
Point newLocation = Location;
SpecialWindowHandles insertAfter = Options.TopMost ? SpecialWindowHandles.HWND_TOPMOST : SpecialWindowHandles.HWND_TOP;
SetWindowPosFlags flags = SetWindowPosFlags.SWP_NOACTIVATE;
SetWindowPosFlags flags = SetWindowPosFlags.SWP_NOACTIVATE | SetWindowPosFlags.SWP_NOSENDCHANGING;
if (Options.KeepCenterLocation)
{