Menu tracking now ignores mouse movements if they are too fast

(suggested by stippi). The movement threshold will be subject to 
changes, as I only tested on vmware and it's probably too high.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@23528 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2008-01-15 13:40:13 +00:00
parent 48044dcc41
commit d01f3af185
2 changed files with 34 additions and 10 deletions
+1 -1
View File
@@ -181,7 +181,7 @@ private:
BMenuItem* _Track(int* action, long start = -1);
void _UpdateStateOpenSelect(BMenuItem* item,
bigtime_t& openTime, bigtime_t& closeTime);
bigtime_t& openTime, const int32 &mouseSpeed);
void _UpdateStateClose(BMenuItem* item, const BPoint& where,
const uint32& buttons);