From b2632eb4ce8f43df3aef5e7dfad1e1b8e430fa0a Mon Sep 17 00:00:00 2001 From: umbrageodotus Date: Thu, 28 May 2026 16:48:28 +0100 Subject: [PATCH] xwayland: fix ICCCM synthetic event comparison (#14827) --- src/xwayland/XSurface.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xwayland/XSurface.cpp b/src/xwayland/XSurface.cpp index 5c5f3b5c9..bb7895de8 100644 --- a/src/xwayland/XSurface.cpp +++ b/src/xwayland/XSurface.cpp @@ -203,7 +203,7 @@ void CXWaylandSurface::configure(const CBox& box) { uint32_t values[] = {box.x, box.y, box.width, box.height, 0}; xcb_configure_window(g_pXWayland->m_wm->getConnection(), m_xID, mask, values); - if (m_geometry.width == box.width && m_geometry.height == box.height) { + if (box.width == oldSize.x && box.height == oldSize.y) { // ICCCM requires a synthetic event when window size is not changed xcb_configure_notify_event_t e; e.response_type = XCB_CONFIGURE_NOTIFY;