From 368cf2dd374ce104cbbe1fa356991db2e238c640 Mon Sep 17 00:00:00 2001 From: Vlad Zahorodnii Date: Fri, 5 Jul 2024 09:49:38 +0300 Subject: [PATCH] Port to QWaylandWindow::updateExposure() --- src/qwaylandlayersurface.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/qwaylandlayersurface.cpp b/src/qwaylandlayersurface.cpp index cc0b2b3..c03de35 100644 --- a/src/qwaylandlayersurface.cpp +++ b/src/qwaylandlayersurface.cpp @@ -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 }