~gerboland/qtubuntu/fix_1351024

« back to all changes in this revision

Viewing changes to src/ubuntumirclient/input.cpp

  • Committer: Gerry Boland
  • Date: 2014-08-08 14:04:13 UTC
  • Revision ID: gerry.boland@canonical.com-20140808140413-ehzc10l69o1arebo
Review comments addressed

Show diffs side-by-side

added added

removed removed

Lines of Context:
278
278
    for (int i = 0; i < kPointerCount; ++i) {
279
279
        QWindowSystemInterface::TouchPoint touchPoint;
280
280
 
281
 
        const float kX = event->motion.pointer_coordinates[i].raw_x;
 
281
        const float kX = event->motion.pointer_coordinates[i].raw_x + kWindowGeometry.x();
282
282
        const float kY = event->motion.pointer_coordinates[i].raw_y + kWindowGeometry.y(); // see bug lp:1346633 workaround comments elsewhere
283
283
        const float kW = event->motion.pointer_coordinates[i].touch_major;
284
284
        const float kH = event->motion.pointer_coordinates[i].touch_minor;