mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-02-23 19:49:43 +01:00
Swallow shift keyboard event when dragging window (#1362)
This commit is contained in:
@@ -374,6 +374,10 @@ FancyZones::OnKeyDown(PKBDLLHOOKSTRUCT info) noexcept
|
||||
CycleActiveZoneSet(info->vkCode);
|
||||
return false;
|
||||
}
|
||||
if (m_dragEnabled && shift)
|
||||
{
|
||||
return true;
|
||||
}
|
||||
return false;
|
||||
}
|
||||
|
||||
@@ -654,6 +658,7 @@ void FancyZones::AddZoneWindow(HMONITOR monitor, PCWSTR deviceId) noexcept
|
||||
{
|
||||
m_zoneWindowMap[monitor] = std::move(zoneWindow);
|
||||
}
|
||||
|
||||
if (newWorkArea)
|
||||
{
|
||||
RegisterNewWorkArea(m_currentVirtualDesktopId, monitor);
|
||||
|
||||
Reference in New Issue
Block a user