Skip to content
Commit 494e4a07 authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

plugins/shakecursor: Don't trigger for cursor pushback

The shake detector is mistriggered by sporadic pointer movement when the
cursor is pushed back by a screen edge.

As a way to prevent it, this change adds a bounding rectangle
constraint. The cursor will move chaotically within a small bounding
rectangle if it's pushed back. So it should be enough to just check
the length of the diagonal.
parent 99981479
Pipeline #548724 passed with stage
in 12 minutes and 39 seconds
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment