mirror of
https://github.com/microsoft/PowerToys.git
synced 2026-04-04 18:26:39 +02:00
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:
committed by
GitHub
parent
56c0a78c64
commit
bc53951648
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user