| Index: Source/core/frame/FrameView.cpp
|
| diff --git a/Source/core/frame/FrameView.cpp b/Source/core/frame/FrameView.cpp
|
| index ecee538419375d6ae6027cacbd01f583b4e9d840..981bbbab4abe6ac617e65531109c2e54640628f0 100644
|
| --- a/Source/core/frame/FrameView.cpp
|
| +++ b/Source/core/frame/FrameView.cpp
|
| @@ -1336,7 +1336,7 @@ IntPoint FrameView::lastKnownMousePosition() const
|
| bool FrameView::shouldSetCursor() const
|
| {
|
| Page* page = frame().page();
|
| - return page && page->visibilityState() != PageVisibilityStateHidden && page->focusController().isActive();
|
| + return page && page->visibilityState() != PageVisibilityStateHidden && page->focusController().isActive() && page->settings().deviceSupportsMouse();
|
| }
|
|
|
| void FrameView::scrollContentsIfNeededRecursive()
|
| @@ -3194,6 +3194,8 @@ AXObjectCache* FrameView::axObjectCache() const
|
|
|
| void FrameView::setCursor(const Cursor& cursor)
|
| {
|
| + if (!shouldSetCursor())
|
| + return;
|
| Page* page = frame().page();
|
| if (!page)
|
| return;
|
|
|