qpa: Implement QPlatformWindow::requestActivateWindow()

icc-effect-5.26.4
Vlad Zahorodnii 2021-07-23 09:18:57 +03:00
parent c79d7f56dd
commit dd6a60beea
2 changed files with 6 additions and 0 deletions

View File

@ -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();

View File

@ -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;