QNX: Fix geometry changed event for non FS windows
For non full screen windows the geometry change event was not sent. Change-Id: I982621d87fe248bbe13640dd3e17b31fb9f30120 Reviewed-by: Bernd Weimer <bweimer@blackberry.com> Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
This commit is contained in:
parent
38fc11b74b
commit
3f4277c264
@ -709,12 +709,12 @@ void QQnxWindow::initWindow()
|
|||||||
if (window()->parent() && window()->parent()->handle())
|
if (window()->parent() && window()->parent()->handle())
|
||||||
setParent(window()->parent()->handle());
|
setParent(window()->parent()->handle());
|
||||||
|
|
||||||
if (shouldMakeFullScreen()) {
|
if (shouldMakeFullScreen())
|
||||||
setGeometryHelper(screen()->geometry());
|
setGeometryHelper(screen()->geometry());
|
||||||
QWindowSystemInterface::handleGeometryChange(window(), screen()->geometry());
|
else
|
||||||
} else {
|
|
||||||
setGeometryHelper(window()->geometry());
|
setGeometryHelper(window()->geometry());
|
||||||
}
|
|
||||||
|
QWindowSystemInterface::handleGeometryChange(window(), screen()->geometry());
|
||||||
}
|
}
|
||||||
|
|
||||||
void QQnxWindow::createWindowGroup()
|
void QQnxWindow::createWindowGroup()
|
||||||
|
Loading…
Reference in New Issue
Block a user