<rdar://problem/11442485> off-screen or inactive pages can change the mouse pointer
authormitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Aug 2012 04:36:01 +0000 (04:36 +0000)
committermitz@apple.com <mitz@apple.com@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Mon, 13 Aug 2012 04:36:01 +0000 (04:36 +0000)
commitbca76bdbdf95d22f8c33859f0664d9417fa4e546
tree9f635cdc8f9a3e168e14e037e11a14e3bdfda988
parent0c3903bbba2c29b99fcb0ff42c544eb42571faaf
<rdar://problem/11442485> off-screen or inactive pages can change the mouse pointer

Reviewed by Adele Peterson.

* page/EventHandler.cpp:
(WebCore::EventHandler::fakeMouseMoveEventTimerFired): Added a check that the page is
on-screen and active before dispatching the fake mouse event.

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@125389 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/ChangeLog
Source/WebCore/page/EventHandler.cpp