diff options
author | David Faure <faure@kde.org> | 2010-05-26 09:43:39 (GMT) |
---|---|---|
committer | Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com> | 2010-05-26 09:54:27 (GMT) |
commit | 058fa44c7aba859c3383f912da4f976c896f921d (patch) | |
tree | cf483079deee6cbc4ceb2d04ffa35dc9499d7782 /src/corelib/tools/qunicodetables.cpp | |
parent | b14536650ace48c962e632ab287c347659091381 (diff) | |
download | Qt-058fa44c7aba859c3383f912da4f976c896f921d.zip Qt-058fa44c7aba859c3383f912da4f976c896f921d.tar.gz Qt-058fa44c7aba859c3383f912da4f976c896f921d.tar.bz2 |
Update the state of the keyboard modifiers on drop events.
In the case of drag-n-drop between processes we do not get key events
for the pressed modifiers, so we need to update the state of the modifiers
(using XQueryPointer) to get a correct value of QApplication::keyboardModifiers()
and QDropEvent::keyboardModifiers() at drop time.
This is necessary for fixing KDE bug 178679.
Merge-request: 590
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Andreas Aardal Hanssen <andreas.aardal.hanssen@nokia.com>
Diffstat (limited to 'src/corelib/tools/qunicodetables.cpp')
0 files changed, 0 insertions, 0 deletions