diff options
| author | Sérgio Martins <[email protected]> | 2022-07-29 17:13:24 +0100 |
|---|---|---|
| committer | Sergio Martins <[email protected]> | 2022-08-04 02:55:27 +0100 |
| commit | 9ccbbeecbd76ba7dbc73737528ea613c8b21bd98 (patch) | |
| tree | 14b31dacc5b39132ee8c15a96ca5e92ba08064f0 /src/opengl/qopenglcompositor_p.h | |
| parent | 40d781b7b5e7925e4559cd725ddbfef307d5f455 (diff) | |
eglfs: Ensure correct z-order of windows
- The main window needs to be at the back always, since it's fullscreen. If the root
window gets in front then there's no way to retrieve the secondary windows.
- Qt::Tool and transient child windows go to front as in other QPAs
Change-Id: I4a2793628250756bc07daaee0763ea7174a7bebd
Pick-to: 6.3 6.4
Reviewed-by: Laszlo Agocs <[email protected]>
Diffstat (limited to 'src/opengl/qopenglcompositor_p.h')
| -rw-r--r-- | src/opengl/qopenglcompositor_p.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/opengl/qopenglcompositor_p.h b/src/opengl/qopenglcompositor_p.h index 6ab738c58e9..abe8d4959ef 100644 --- a/src/opengl/qopenglcompositor_p.h +++ b/src/opengl/qopenglcompositor_p.h @@ -74,6 +74,7 @@ private: void renderAll(QOpenGLFramebufferObject *fbo); void render(QOpenGLCompositorWindow *window); + void ensureCorrectZOrder(); QOpenGLContext *m_context; QWindow *m_targetWindow; |
