From e5e708ca39fa9ecfa8f804962c6d2cb7faa1ee41 Mon Sep 17 00:00:00 2001 From: Stefano Ceccherini Date: Tue, 8 Apr 2008 08:37:05 +0000 Subject: [PATCH] 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 --- src/kits/interface/PopUpMenu.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/kits/interface/PopUpMenu.cpp b/src/kits/interface/PopUpMenu.cpp index 9a1e3ab27e..4ca7e975e3 100644 --- a/src/kits/interface/PopUpMenu.cpp +++ b/src/kits/interface/PopUpMenu.cpp @@ -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();