diff options
| author | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-06-30 14:56:34 +0200 |
|---|---|---|
| committer | Friedemann Kleint <Friedemann.Kleint@qt.io> | 2016-08-30 12:48:39 +0000 |
| commit | fa2aef5eb8f1a28a79e253a006f348e62afef58a (patch) | |
| tree | 397f0e5a25f803e4993381213dcc3193c19b17ca /src/gui/opengl/qopenglframebufferobject.cpp | |
| parent | 710ff392d95fb2888c14ea273f4d65ced908fe49 (diff) | |
Fix QWindowPrivate::globalPosition() for foreign windows
Use mapToGlobal(QPoint(0, 0)) when encountering a foreign window in
the parent hierarchy as it is not clear whether it is a native
top level or child. In the latter case, using the position is not
sufficient.
Task-number: QTBUG-43252
Change-Id: I5eebb1f0dbc6a0abbd968c5d383d3eded75c11a5
Reviewed-by: Jan Arve Sæther <jan-arve.saether@theqtcompany.com>
Diffstat (limited to 'src/gui/opengl/qopenglframebufferobject.cpp')
0 files changed, 0 insertions, 0 deletions
