mirror of
https://github.com/hyprwm/Hyprland.git
synced 2025-08-07 23:51:55 -07:00
xwayland: refactor class member vars (#10312)
* xwayland: refactor class member vars * xwayland: fix pure wayland build
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user