qpa: Implement QPlatformWindow::requestActivateWindow()
This commit is contained in:
parent
c79d7f56dd
commit
dd6a60beea
2 changed files with 6 additions and 0 deletions
|
@ -54,6 +54,11 @@ QSurfaceFormat Window::format() const
|
|||
return m_format;
|
||||
}
|
||||
|
||||
void Window::requestActivateWindow()
|
||||
{
|
||||
QWindowSystemInterface::handleWindowActivated(window());
|
||||
}
|
||||
|
||||
void Window::setGeometry(const QRect &rect)
|
||||
{
|
||||
const QRect &oldRect = geometry();
|
||||
|
|
|
@ -36,6 +36,7 @@ public:
|
|||
void setGeometry(const QRect &rect) override;
|
||||
WId winId() const override;
|
||||
qreal devicePixelRatio() const override;
|
||||
void requestActivateWindow() override;
|
||||
|
||||
void bindContentFBO();
|
||||
const QSharedPointer<QOpenGLFramebufferObject> &contentFBO() const;
|
||||
|
|
Loading…
Reference in a new issue