qpa: Implement QPlatformWindow::requestActivateWindow()
parent
c79d7f56dd
commit
dd6a60beea
|
@ -54,6 +54,11 @@ QSurfaceFormat Window::format() const
|
||||||
return m_format;
|
return m_format;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void Window::requestActivateWindow()
|
||||||
|
{
|
||||||
|
QWindowSystemInterface::handleWindowActivated(window());
|
||||||
|
}
|
||||||
|
|
||||||
void Window::setGeometry(const QRect &rect)
|
void Window::setGeometry(const QRect &rect)
|
||||||
{
|
{
|
||||||
const QRect &oldRect = geometry();
|
const QRect &oldRect = geometry();
|
||||||
|
|
|
@ -36,6 +36,7 @@ public:
|
||||||
void setGeometry(const QRect &rect) override;
|
void setGeometry(const QRect &rect) override;
|
||||||
WId winId() const override;
|
WId winId() const override;
|
||||||
qreal devicePixelRatio() const override;
|
qreal devicePixelRatio() const override;
|
||||||
|
void requestActivateWindow() override;
|
||||||
|
|
||||||
void bindContentFBO();
|
void bindContentFBO();
|
||||||
const QSharedPointer<QOpenGLFramebufferObject> &contentFBO() const;
|
const QSharedPointer<QOpenGLFramebufferObject> &contentFBO() const;
|
||||||
|
|
Loading…
Reference in New Issue