From 8926b64225e96b6364fb98c56f1145beeb9e8316 Mon Sep 17 00:00:00 2001 From: David Edmundson Date: Wed, 31 Jan 2024 15:17:09 +0000 Subject: [PATCH] Fix build with Qt 6.7 This also fixes a hypothetical case of a layer shell with subsurfaces and matches the call made by xdgshell after the first configure. --- src/qwaylandlayersurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/qwaylandlayersurface.cpp b/src/qwaylandlayersurface.cpp index 15ffc1d..704a8e5 100644 --- a/src/qwaylandlayersurface.cpp +++ b/src/qwaylandlayersurface.cpp @@ -96,7 +96,7 @@ void QWaylandLayerSurface::zwlr_layer_surface_v1_configure(uint32_t serial, uint if (!m_configured) { m_configured = true; window()->resizeFromApplyConfigure(m_pendingSize); - window()->handleExpose(QRect(QPoint(), m_pendingSize)); + window()->sendRecursiveExposeEvent(); } else { // Later configures are resizes, so we have to queue them up for a time when we // are not painting to the window.