[FancyZones] Fix updating window position after switching virtual desktop (#22072)

This commit is contained in:
Seraphima Zykova
2022-11-22 17:58:22 +01:00
committed by GitHub
parent e160e223f0
commit ef8415ddfe
5 changed files with 15 additions and 14 deletions

View File

@@ -23,7 +23,7 @@ public:
bool MoveWindowIntoZoneByDirectionAndPosition(HWND window, DWORD vkCode, bool cycle, std::shared_ptr<WorkArea> workArea) noexcept;
bool ExtendWindowByDirectionAndPosition(HWND window, DWORD vkCode, std::shared_ptr<WorkArea> workArea) noexcept;
void UpdateWindowsPositions(const std::unordered_map<HMONITOR, std::shared_ptr<WorkArea>>& activeWorkAreas) noexcept;
void AssignWindowsToZones(const std::unordered_map<HMONITOR, std::shared_ptr<WorkArea>>& activeWorkAreas, bool updatePositions) noexcept;
inline void OnMouseDown() noexcept
{