Removed the snooze() call before tracking the popup menu. This should

avoid the problem noticed by Andrea Anzani (can you check, please ?) 
where the tracker menu would close when moving the mouse too fast.


git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24863 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Stefano Ceccherini
2008-04-08 08:37:05 +00:00
parent 67d5c5a838
commit e5e708ca39
-3
View File
@@ -361,9 +361,6 @@ BPopUpMenu::_StartTrack(BPoint where, bool autoInvoke, bool startOpened, BRect *
// Show the menu's window
Show();
// Wait some time then track the menu
snooze(50000);
BMenuItem *result = Track(startOpened, _specialRect);
if (result != NULL && autoInvoke)
result->Invoke();