[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

@@ -133,7 +133,7 @@ namespace JSONHelpers
struct AppZoneHistoryData
{
std::map<DWORD, HWND> processIdToHandleMap; // Maps process id(DWORD) of application to zoned window handle(HWND)
std::unordered_map<DWORD, HWND> processIdToHandleMap; // Maps process id(DWORD) of application to zoned window handle(HWND)
std::wstring zoneSetUuid;
std::wstring deviceId;