mirror of
https://github.com/debauchee/barrier.git
synced 2026-07-10 05:46:47 +08:00
Made double tap require moving farther away from the tapped edge
before arming. This should reduce spurious double taps.
This commit is contained in:
@@ -258,7 +258,7 @@ private:
|
||||
|
||||
// update switch state due to a mouse move that doesn't try to
|
||||
// switch screens.
|
||||
void onNoSwitch();
|
||||
void onNoSwitch(bool inTapZone);
|
||||
|
||||
// reset switch wait state
|
||||
void clearSwitchState();
|
||||
@@ -403,6 +403,7 @@ private:
|
||||
CStopwatch m_switchTwoTapTimer;
|
||||
bool m_switchTwoTapEngaged;
|
||||
bool m_switchTwoTapArmed;
|
||||
SInt32 m_switchTwoTapZone;
|
||||
|
||||
// the status change jobs and status
|
||||
CJobList m_statusJobs;
|
||||
|
||||
Reference in New Issue
Block a user