diff options
author | Laszlo Agocs <laszlo.agocs@digia.com> | 2013-09-13 16:34:48 +0200 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-09-20 12:06:03 +0200 |
commit | 7e2b238c507ee2fdea26f2b57512f337de2c5f85 (patch) | |
tree | 3fa598d19f89864321a0484e6c572ae39aea62df /src/plugins/platforms | |
parent | d18ccbb5be23eaea5eb5f1af2ae0fba334ab21d7 (diff) |
Add a WindowManagement capability to QPlatformIntegration
To be set to false by eglfs and similar platforms where no real window
management is provided.
When this capability is not set, some of the changes done for
QTBUG-26903 will be disabled, allowing dialogs to show up at their
QDialog-chosen place on platforms where no WM is present and so
windows are never repositioned by the system.
Change-Id: If1dac3cd11f2a856913a51277431fe3ec644b719
Reviewed-by: Gunnar Sletta <gunnar.sletta@digia.com>
Diffstat (limited to 'src/plugins/platforms')
-rw-r--r-- | src/plugins/platforms/eglfs/qeglfsintegration.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/platforms/eglfs/qeglfsintegration.cpp b/src/plugins/platforms/eglfs/qeglfsintegration.cpp index 12658e6d01..14b839c2dd 100644 --- a/src/plugins/platforms/eglfs/qeglfsintegration.cpp +++ b/src/plugins/platforms/eglfs/qeglfsintegration.cpp @@ -134,6 +134,7 @@ bool QEglFSIntegration::hasCapability(QPlatformIntegration::Capability cap) cons case ThreadedPixmaps: return true; case OpenGL: return true; case ThreadedOpenGL: return true; + case WindowManagement: return false; default: return QPlatformIntegration::hasCapability(cap); } } |