summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrea Iacovitti <aiacovitti@libero.it>2012-05-28 05:18:20 (GMT)
committerAndrea Iacovitti <aiacovitti@libero.it>2012-05-28 05:18:20 (GMT)
commit5feb2da93c4fcd18d3a38659abb9fb040704d123 (patch)
tree6fd0af90245867b1c92988cdf2a969f4846df934
parenta8ae408985e3eadee91ce95b584e768a205fec02 (diff)
Do not duplicate mouse move events
(patch by Allan Sandfeld) BUG: 243910 FIXED-IN: 4.8.4
-rw-r--r--khtml/rendering/render_replaced.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/khtml/rendering/render_replaced.cpp b/khtml/rendering/render_replaced.cpp
index 5f2a2f9..984ec9e 100644
--- a/khtml/rendering/render_replaced.cpp
+++ b/khtml/rendering/render_replaced.cpp
@@ -1062,7 +1062,7 @@ bool RenderWidget::handleEvent(const DOM::EventImpl& ev)
}
m_underMouse = target;
}
-
+#if 0
if (target && ev.id() == EventImpl::MOUSEMOVE_EVENT) {
// ### is this one still necessary? it doubles every mouse event...
// I'd reckon it's no longer needed since Harri made the event propagation bubble
@@ -1070,7 +1070,7 @@ bool RenderWidget::handleEvent(const DOM::EventImpl& ev)
QApplication::mouseButtons(), QApplication::keyboardModifiers());
QApplication::sendEvent(target, &evt);
}
-
+#endif
if (ev.id() == EventImpl::MOUSEDOWN_EVENT) {
if (!target || (!::qobject_cast<QScrollBar*>(target) &&
!::qobject_cast<KUrlRequester*>(m_widget) &&