mirror of
https://github.com/cappuccino/cappuccino.git
synced 2026-12-06 04:35:32 +00:00
Limiting the frontmost-area traversal check to the content view allowed it to run past the window view for views outside the content view (such as those in a toolbar), causing an application hang whenever the pointer entered two overlapping cursor areas within such a view (such as the cancel button and text area of a search field containing text). - CPWindow: Traverse superviews up to the window view (the root of every view in the window) in -_handleCursorUpdateEventsForEvent:atPoint:dragging:, and raise the existing view hierarchy exception if a traversal reaches nil. - CPWindowCursorUpdateTest: Add tests covering overlapping cursor areas of sibling views in the content view, a single view outside the content view, and a nested view outside the content view.