Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
When handling mouseMove on MacOS, check that the current peer is the …
…topmost NSView before forwarding the events. Without this, a Component created via addDocumentWindow() with the nativeWindowToAttachTo argument set (i.e., creating a sub-NSView) would receive incorrect mouseExit events, as both it *and* its parent component would handle these mouseMove events, rapidly sending enter/exit messages back and forth between the two windows while the mouse moved.
- Loading branch information