Reverse logic for keep windows in their zones when fancyzone layout changes (#812)

This commit is contained in:
vldmr11080 2019-11-30 12:15:16 +01:00 committed by Enrico Giordani
parent 3095ade94c
commit 9a8ab29330

View File

@ -462,7 +462,7 @@ void FancyZones::OnDisplayChange(DisplayChangeType changeType) noexcept
}
else if (changeType == DisplayChangeType::Editor)
{
if (m_settings->GetSettings().zoneSetChange_moveWindows)
if (!m_settings->GetSettings().zoneSetChange_moveWindows)
{
MoveWindowsOnDisplayChange();
}