diff options
author | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-04-07 08:59:41 (GMT) |
---|---|---|
committer | Prasanth Ullattil <prasanth.ullattil@nokia.com> | 2009-04-07 12:07:24 (GMT) |
commit | ca2d62f97f991d042a781d9d7bd0dbda910e1d04 (patch) | |
tree | 70cbe028192caa678ff86a034d6cd2ff987cd32c /src/gui/kernel/qt_mac_p.h | |
parent | 179fafcc370c907a6070c7150695d446255e68d1 (diff) | |
download | Qt-ca2d62f97f991d042a781d9d7bd0dbda910e1d04.zip Qt-ca2d62f97f991d042a781d9d7bd0dbda910e1d04.tar.gz Qt-ca2d62f97f991d042a781d9d7bd0dbda910e1d04.tar.bz2 |
Drag cursor is not updated when modifier keys are pressed/released in
the Cocoa Builds.
The drag move events were compressed based only on the position of the
cursor. It has to be based on both position and the "drag operation" in
native event.
Reviewed-by: nrc
Diffstat (limited to 'src/gui/kernel/qt_mac_p.h')
-rw-r--r-- | src/gui/kernel/qt_mac_p.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/gui/kernel/qt_mac_p.h b/src/gui/kernel/qt_mac_p.h index e65492d..ca995dc 100644 --- a/src/gui/kernel/qt_mac_p.h +++ b/src/gui/kernel/qt_mac_p.h @@ -250,11 +250,13 @@ struct QMacDndAnswerRecord { Qt::KeyboardModifiers modifiers; Qt::MouseButtons buttons; Qt::DropAction lastAction; + unsigned int lastOperation; void clear() { rect = QRect(); modifiers = Qt::NoModifier; buttons = Qt::NoButton; lastAction = Qt::IgnoreAction; + lastOperation = 0; } }; extern QMacDndAnswerRecord qt_mac_dnd_answer_rec; |