[FancyZones] Allow snapping apps launched by Workspaces (#35067)

This commit is contained in:
Seraphima Zykova
2024-09-25 19:36:36 +03:00
committed by GitHub
parent ad1f20408c
commit 471db8bf9c
5 changed files with 70 additions and 30 deletions

View File

@@ -29,7 +29,7 @@ WindowMouseSnap::~WindowMouseSnap()
std::unique_ptr<WindowMouseSnap> WindowMouseSnap::Create(HWND window, const std::unordered_map<HMONITOR, std::unique_ptr<WorkArea>>& activeWorkAreas)
{
if (FancyZonesWindowUtils::IsCursorTypeIndicatingSizeEvent() || !FancyZonesWindowProcessing::IsProcessable(window))
if (FancyZonesWindowUtils::IsCursorTypeIndicatingSizeEvent() || !FancyZonesWindowProcessing::IsProcessableManually(window))
{
return nullptr;
}