From e5df8cdc6227e35fa225acd15cdcc75abe3347cb Mon Sep 17 00:00:00 2001 From: davc0n Date: Wed, 7 May 2025 15:21:44 +0200 Subject: xwayland: refactor class member vars (#10312) * xwayland: refactor class member vars * xwayland: fix pure wayland build --- src/Compositor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/Compositor.cpp') diff --git a/src/Compositor.cpp b/src/Compositor.cpp index dd098df2..ece6691a 100644 --- a/src/Compositor.cpp +++ b/src/Compositor.cpp @@ -2394,7 +2394,7 @@ PHLWINDOW CCompositor::getX11Parent(PHLWINDOW pWindow) { if (!w->m_isX11) continue; - if (w->m_xwaylandSurface == pWindow->m_xwaylandSurface->parent) + if (w->m_xwaylandSurface == pWindow->m_xwaylandSurface->m_parent) return w; } -- cgit v1.2.3