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 }