it has happened at least 2 times already that I have pressed the RMB (by accident or intentionally) and while mouse moved a tiny bit into a specific direction, a gesture \down was executed. This happened in a blink of a second, I think less than 200 ms. If I could define the minimum time which is necessary for ANY gesture, this problem would not exist. And I think this is "cheap" to program in actually so this would have large return value.
This could actually be also interpreted as "minimum gesture length". Or it could be 2 different options, since min gesture length is also cheap to make, I think.
Great, "100" in min-segment works quite well for me. Completely disables short accidental strokes on a 1080p display.
I think it's not quite what I suggested (since drawing a very small Z has enough stroke length but is not considered a gesture due to small segment length) but that's not an issue.
I know it's not exactly what you were looking for, but this was easy for the time being..and does have other potential value. I figured I'd see how the dust settled with it like this first.