Reviewed by Beth.
Fixed regression in fast/events/objc-event-api. DumpRenderTree expects to
be able to dispatch user events even when off-screen, so we have to support
off-screen windows when handling mouse events.
* platform/Screen.h:
* platform/mac/PlatformMouseEventMac.mm:
(WebCore::globalPoint): Grab the best screen instead of the screen you're
on, since you might be off-screen.
* platform/mac/ScreenMac.mm:
(WebCore::screenForWindow):
git-svn-id: https://svn.webkit.org/repository/webkit/trunk@17663
268f45cc-cd09-0410-ab3c-
d52691b4dbfc