Swallow shift keyboard event when dragging window (#1362)
This commit is contained in:
parent
b1ac1859be
commit
2f9b753c5b
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue