mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-08 12:18:50 +02:00
[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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user