diff --git a/frame/layershell/qwaylandlayershellsurface.cpp b/frame/layershell/qwaylandlayershellsurface.cpp index 629d88c9b..2d2c4df7d 100644 --- a/frame/layershell/qwaylandlayershellsurface.cpp +++ b/frame/layershell/qwaylandlayershellsurface.cpp @@ -135,8 +135,10 @@ void QWaylandLayerShellSurface::zwlr_layer_surface_v1_configure(uint32_t serial, window()->resizeFromApplyConfigure(m_pendingSize); #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 } else {