Issue #1849: Fix for windows in the last zone being placed in the first zone when decreasing the zone count. (#1884)

This commit is contained in:
JordanAnthonyKing 2020-04-07 08:23:59 +00:00 committed by GitHub
parent 84ef245b56
commit 01ec472314
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -226,7 +226,7 @@ ZoneSet::MoveWindowIntoZoneByIndex(HWND window, HWND windowZone, int index) noex
if (index >= int(m_zones.size()))
{
index = 0;
return;
}
while (auto zoneDrop = ZoneFromWindow(window))