mirror of
https://review.haiku-os.org/haiku
synced 2025-02-01 19:26:13 +01:00
f8f64f9a2e
If the menu opens right under the mouse cursor, do not select or invoke an item until the mouse is moved. Since this seems to break normal menu bars, I added the check for fSuper. As a (bad?) side effect BMenuField menus also need mouse movement before something is selected. If anything else is broken, let me know. I'm committing this because it does remove some bad behavior in pop up menus (unintentionally selecting items.) We may also want to force the openAnyway behavior as discussed on the mailing list in December. In general though the menu handling code really should be redesigned/refactored. git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@40132 a95241bf-73f2-0310-859d-f6bbb57e9c96