mirror of
https://invent.kde.org/plasma/layer-shell-qt.git
synced 2025-05-25 09:30:22 -04:00
Port to QWaylandWindow::updateExposure()
This commit is contained in:
parent
16a1debdca
commit
368cf2dd37
@ -231,8 +231,10 @@ void QWaylandLayerSurface::sendExpose()
|
|||||||
{
|
{
|
||||||
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
#if QT_VERSION < QT_VERSION_CHECK(6, 7, 0)
|
||||||
window()->handleExpose(QRect(QPoint(), m_pendingSize));
|
window()->handleExpose(QRect(QPoint(), m_pendingSize));
|
||||||
#else
|
#elif QT_VERSION < QT_VERSION_CHECK(6, 9, 0)
|
||||||
window()->sendRecursiveExposeEvent();
|
window()->sendRecursiveExposeEvent();
|
||||||
|
#else
|
||||||
|
window()->updateExposure();
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user