diff options
| author | Àlex Fiestas <afiestas@kde.org> | 2017-01-15 00:54:43 +0100 |
|---|---|---|
| committer | Aleix Pol <aleixpol@codereview.qt-project.org> | 2017-09-04 14:35:18 +0000 |
| commit | 7d323397628e808f49ee9477515a35d743afd131 (patch) | |
| tree | a28e6d534349d1071aff4ec834c51b7d41a6e25a /examples/opengl/hellogl2/main.cpp | |
| parent | 52bda430af2749da1a0467b71d9cca5208f22402 (diff) | |
Pass m_drag_icon_window to getNativeMousePos instead of Event QObject
The QWindow passed to eventFilter is static so it might be in a
different screen when we call getNativeMousePos, resulting in negative
position and all sorts of glitches.
Change-Id: Ibc848c6d85d8b6932ee379aa77851094212a0db2
Reviewed-by: David Edmundson <davidedmundson@kde.org>
Reviewed-by: Friedemann Kleint <Friedemann.Kleint@qt.io>
Diffstat (limited to 'examples/opengl/hellogl2/main.cpp')
0 files changed, 0 insertions, 0 deletions
