[FancyZones] Update app zone history on window removal (#4696)

* Update app zone history on every new window assignment to zone

* Compare window positions with already placed windows

* Remove window property only after processing window removal from zone
This commit is contained in:
vldmr11080
2020-07-08 16:59:36 +02:00
committed by GitHub
parent 106c316442
commit ac5a3e7a65
3 changed files with 9 additions and 14 deletions

View File

@@ -293,8 +293,6 @@ void WindowMoveHandlerPrivate::MoveSizeEnd(HWND window, POINT const& ptScreen, c
}
else
{
::RemoveProp(window, MULTI_ZONE_STAMP);
if (m_settings->GetSettings()->restoreSize)
{
if (WindowMoveHandlerUtils::IsCursorTypeIndicatingSizeEvent())
@@ -325,6 +323,7 @@ void WindowMoveHandlerPrivate::MoveSizeEnd(HWND window, POINT const& ptScreen, c
}
}
}
::RemoveProp(window, MULTI_ZONE_STAMP);
}
// Also, hide all windows (regardless of settings)