diff options
author | Friedemann Kleint <Friedemann.Kleint@digia.com> | 2013-10-31 16:41:19 +0100 |
---|---|---|
committer | The Qt Project <gerrit-noreply@qt-project.org> | 2013-11-04 19:37:57 +0100 |
commit | a922b94c2fa273dfc3915c840b4b8518163d06f1 (patch) | |
tree | 1718349780d1de2d50fd6253ae3f3f717ef447b5 | |
parent | 2e8ad02b7d10c100dcd9d559b019c474fa4b8a29 (diff) |
Windows: Do not detect full-screen state for child windows.
Introduced by a1db174ea98fab8669da498639895bac4c894baf (Fix window state
handling).
Task-number: QTBUG-34477
Change-Id: I4c92edddef346f9d7c4741f2f9784e9f686e9cda
Reviewed-by: Joerg Bornemann <joerg.bornemann@digia.com>
-rw-r--r-- | src/plugins/platforms/windows/qwindowswindow.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/platforms/windows/qwindowswindow.cpp b/src/plugins/platforms/windows/qwindowswindow.cpp index d3d381ae28..44fd97e1aa 100644 --- a/src/plugins/platforms/windows/qwindowswindow.cpp +++ b/src/plugins/platforms/windows/qwindowswindow.cpp @@ -1548,7 +1548,7 @@ static const QScreen *effectiveScreen(const QWindow *w) bool QWindowsWindow::isFullScreen_sys() const { - return geometry_sys() == effectiveScreen(window())->geometry(); + return window()->isTopLevel() && geometry_sys() == effectiveScreen(window())->geometry(); } /*! |