src/gui/kernel/qapplication_s60.cpp
branchRCL_3
changeset 17 4b6ee5efea19
parent 14 c0432d11811c
--- a/src/gui/kernel/qapplication_s60.cpp	Wed Apr 28 13:15:16 2010 +0300
+++ b/src/gui/kernel/qapplication_s60.cpp	Thu Apr 29 15:15:16 2010 +0300
@@ -440,7 +440,7 @@
                 state |= Qt::TouchPointPrimary;
             touchPoint.setState(state);
 
-            QPointF screenPos = QPointF(event->iPosition.iX, event->iPosition.iY);
+            QPointF screenPos = qwidget->mapToGlobal(QPoint(event->iPosition.iX, event->iPosition.iY));
             touchPoint.setScreenPos(screenPos);
             touchPoint.setNormalizedPos(QPointF(screenPos.x() / screenGeometry.width(),
                                                 screenPos.y() / screenGeometry.height()));