Port to QWaylandWindow::updateExposure()

This commit is contained in:
Vlad Zahorodnii 2024-07-05 09:49:38 +03:00
parent 16a1debdca
commit 368cf2dd37

View File

@ -231,8 +231,10 @@ void QWaylandLayerSurface::sendExpose()
{
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
window()->handleExpose(QRect(QPoint(), m_pendingSize));
#else
#elif QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
window()->sendRecursiveExposeEvent();
#else
window()->updateExposure();
#endif
}