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>
This commit is contained in:
parent
2e8ad02b7d
commit
a922b94c2f
@ -1548,7 +1548,7 @@ static const QScreen *effectiveScreen(const QWindow *w)
|
|||||||
|
|
||||||
bool QWindowsWindow::isFullScreen_sys() const
|
bool QWindowsWindow::isFullScreen_sys() const
|
||||||
{
|
{
|
||||||
return geometry_sys() == effectiveScreen(window())->geometry();
|
return window()->isTopLevel() && geometry_sys() == effectiveScreen(window())->geometry();
|
||||||
}
|
}
|
||||||
|
|
||||||
/*!
|
/*!
|
||||||
|
Loading…
x
Reference in New Issue
Block a user