Revert "Swallow shift keyboard event when dragging window (#1362)" (#1363)

This reverts commit 2f9b753c5b.
This commit is contained in:
vldmr11080
2020-02-26 08:11:39 +01:00
committed by GitHub
parent 3b32a3164b
commit 1f8f9aaf81

View File

@@ -374,10 +374,6 @@ FancyZones::OnKeyDown(PKBDLLHOOKSTRUCT info) noexcept
CycleActiveZoneSet(info->vkCode); CycleActiveZoneSet(info->vkCode);
return false; return false;
} }
if (m_dragEnabled && shift)
{
return true;
}
return false; return false;
} }
@@ -658,7 +654,6 @@ void FancyZones::AddZoneWindow(HMONITOR monitor, PCWSTR deviceId) noexcept
{ {
m_zoneWindowMap[monitor] = std::move(zoneWindow); m_zoneWindowMap[monitor] = std::move(zoneWindow);
} }
if (newWorkArea) if (newWorkArea)
{ {
RegisterNewWorkArea(m_currentVirtualDesktopId, monitor); RegisterNewWorkArea(m_currentVirtualDesktopId, monitor);