Option to disable zones activation by mouse (#2717)

* Added option to enable/disable mouse to activate zones, added telemetry and unit tests
This commit is contained in:
Yevhenii Holovachov
2020-05-07 02:21:32 +03:00
committed by GitHub
parent 56c0a78c64
commit bc53951648
10 changed files with 75 additions and 45 deletions

View File

@@ -346,6 +346,8 @@ void WindowMoveHandlerPrivate::UpdateDragState(HWND window) noexcept
mouse |= mouseR;
}
mouse &= m_settings->GetSettings()->mouseSwitch;
if (m_settings->GetSettings()->shiftDrag)
{
m_dragEnabled = (shift | mouse);