Cocoa: Send proper mouse coordinates.
authorMorten Sorvig <morten.sorvig@nokia.com>
Thu, 29 Sep 2011 12:24:59 +0000 (14:24 +0200)
committerQt by Nokia <qt-info@nokia.com>
Mon, 3 Oct 2011 13:31:42 +0000 (15:31 +0200)
commit9ac51af0838c87ea0e21a12243ef82513c5df3e5
tree27eb91206f532a54376179590e1f67f28d732cee
parent75a66c3d76fe88c9efa22655e75e196d8ec17036
Cocoa: Send proper mouse coordinates.

Clear up coordinate system confusion. Also change
QApplicationPrivate::pickMouseReceiver to indicate
that, yes, it does modify the 3rd argument in
addition to returning the mouse receiver widget.

Change-Id: If2c44eff65aedfdc78c6da1728f31d6e2db71f9d
Reviewed-on: http://codereview.qt-project.org/5919
Reviewed-by: Qt Sanity Bot <qt_sanity_bot@ovi.com>
Reviewed-by: Richard Moe Gustavsen <richard.gustavsen@nokia.com>
src/plugins/platforms/cocoa/qnsview.mm
src/widgets/kernel/qapplication.cpp
src/widgets/kernel/qapplication_p.h
src/widgets/kernel/qwidgetwindow_qpa.cpp