mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-09 12:46:47 +02:00
Introduce handling of new/old work areas (#1296)
* Introduce handling of new/old work areas (defined by virtual desktop id and monitor) * Save data to JSON storage only once after we register all deleted virtual desktops * Update saving mechanism * Remove resolution from unique identifier * Update comments related to new unique identifier * Don't handle NULL GUID as it is default one * Revert "Remove resolution from unique identifier" This reverts commit5a36651217. * Revert "Update comments related to new unique identifier" This reverts commit8e89802549. * removed MigrateDeviceInfoFromRegistry Co-authored-by: Seraphima Zykova <zykovas91@gmail.com>
This commit is contained in:
@@ -222,6 +222,7 @@ namespace JSONHelpers
|
||||
}
|
||||
|
||||
void AddDevice(const std::wstring& deviceId);
|
||||
bool RemoveDevicesByVirtualDesktopId(const std::wstring& virtualDesktopId);
|
||||
void CloneDeviceInfo(const std::wstring& source, const std::wstring& destination);
|
||||
|
||||
int GetAppLastZoneIndex(HWND window, const std::wstring_view& deviceId, const std::wstring_view& zoneSetId) const;
|
||||
@@ -247,8 +248,6 @@ namespace JSONHelpers
|
||||
void LoadFancyZonesData();
|
||||
void SaveFancyZonesData() const;
|
||||
|
||||
void MigrateDeviceInfoFromRegistry(const std::wstring& deviceId);
|
||||
|
||||
private:
|
||||
void TmpMigrateAppliedZoneSetsFromRegistry();
|
||||
void MigrateCustomZoneSetsFromRegistry();
|
||||
|
||||
Reference in New Issue
Block a user