mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-10 13:35:31 +02:00
[FancyZones] Outlook new message restore placement bug (#2534)
This commit is contained in:
committed by
GitHub
parent
3265549911
commit
3d619f1670
@@ -132,6 +132,8 @@ namespace JSONHelpers
|
||||
|
||||
struct AppZoneHistoryData
|
||||
{
|
||||
std::map<DWORD, HWND> processIdToHandleMap; // Maps process id(DWORD) of application to zoned window handle(HWND)
|
||||
|
||||
std::wstring zoneSetUuid;
|
||||
std::wstring deviceId;
|
||||
std::vector<int> zoneIndexSet;
|
||||
@@ -242,6 +244,8 @@ namespace JSONHelpers
|
||||
void UpdatePrimaryDesktopData(const std::wstring& desktopId);
|
||||
void RemoveDeletedDesktops(const std::vector<std::wstring>& activeDesktops);
|
||||
|
||||
bool IsAnotherWindowOfApplicationInstanceZoned(HWND window) const;
|
||||
void UpdateProcessIdToHandleMap(HWND window);
|
||||
std::vector<int> GetAppLastZoneIndexSet(HWND window, const std::wstring_view& deviceId, const std::wstring_view& zoneSetId) const;
|
||||
bool RemoveAppLastZone(HWND window, const std::wstring_view& deviceId, const std::wstring_view& zoneSetId);
|
||||
bool SetAppLastZones(HWND window, const std::wstring& deviceId, const std::wstring& zoneSetId, const std::vector<int>& zoneIndexSet);
|
||||
|
||||
Reference in New Issue
Block a user