[FancyZones] Only process windows located on currently active work area when moving them (#2691)

* Only process windows located on currently active work area when moving them.

* Move all editor exit handling into dedicated method.
This commit is contained in:
vldmr11080
2020-05-06 17:16:16 +02:00
committed by GitHub
parent 8b988409e2
commit 56c0a78c64
4 changed files with 36 additions and 14 deletions

View File

@@ -233,6 +233,8 @@ public:
ShowZoneWindow() noexcept;
IFACEMETHODIMP_(void)
HideZoneWindow() noexcept;
IFACEMETHODIMP_(void)
UpdateActiveZoneSet() noexcept;
protected:
static LRESULT CALLBACK s_WndProc(HWND window, UINT message, WPARAM wparam, LPARAM lparam) noexcept;
@@ -536,6 +538,12 @@ ZoneWindow::HideZoneWindow() noexcept
}
}
IFACEMETHODIMP_(void)
ZoneWindow::UpdateActiveZoneSet() noexcept
{
CalculateZoneSet();
}
#pragma region private
void ZoneWindow::LoadSettings() noexcept