Fancy zones on all monitors - when dragging window to another monitor sometimes zone stays marked as active on previous FIX (#1709)

This commit is contained in:
PrzemyslawTusinski
2020-03-26 17:48:01 +01:00
committed by GitHub
parent 0c0dddab12
commit c247e49c2a

View File

@@ -1053,9 +1053,12 @@ void FancyZones::MoveSizeUpdateInternal(HMONITOR monitor, POINT const& ptScreen,
m_zoneWindowMoveSize->HideZoneWindow();
}
m_zoneWindowMoveSize = iter->second;
m_zoneWindowMoveSize->MoveSizeEnter(m_windowMoveSize, m_zoneWindowMoveSize->IsDragEnabled());
}
m_zoneWindowMoveSize->MoveSizeUpdate(ptScreen, m_dragEnabled);
for (auto [keyMonitor, zoneWindow] : m_zoneWindowMap)
{
zoneWindow->MoveSizeUpdate(ptScreen, m_dragEnabled);
}
}
}
}