xwayland: refactor class member vars (#10312)
* xwayland: refactor class member vars * xwayland: fix pure wayland build
This commit is contained in:
parent
f8bbe5124c
commit
e5df8cdc62
20 changed files with 657 additions and 670 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue