xwayland: push invisible windows outside layout

fixes some xwl focus issues with special especially.
This commit is contained in:
Vaxry
2023-12-12 01:14:36 +00:00
parent ea7569d7e0
commit accb3d8d0b
3 changed files with 30 additions and 3 deletions

View File

@@ -262,7 +262,9 @@ void CHyprXWaylandManager::moveXWaylandWindow(CWindow* pWindow, const Vector2D&
if (!pWindow->m_bIsX11)
return;
wlr_xwayland_surface_configure(pWindow->m_uSurface.xwayland, pos.x, pos.y, pWindow->m_vRealSize.vec().x, pWindow->m_vRealSize.vec().y);
Vector2D size = pWindow->m_vRealSize.goalv() * pWindow->m_fX11SurfaceScaledBy;
wlr_xwayland_surface_configure(pWindow->m_uSurface.xwayland, pos.x, pos.y, size.x, size.y);
}
void CHyprXWaylandManager::checkBorders(CWindow* pWindow) {