aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/managers/XWaylandManager.cpp
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-12-13 17:25:19 +0000
committerVaxry <[email protected]>2023-12-13 17:25:19 +0000
commit01e5c59d752d3fe7fa484330fa48e010054b8fa1 (patch)
tree8b635e9724a805cfddf93c25d66924ee524333d2 /src/managers/XWaylandManager.cpp
parentb2e5a80e2ff1fcbf8164a45c5ef8ebffbb511fae (diff)
downloadHyprland-01e5c59d752d3fe7fa484330fa48e010054b8fa1.tar.gz
Hyprland-01e5c59d752d3fe7fa484330fa48e010054b8fa1.zip
Revert "xwayland: push invisible windows outside layout"
This reverts commit accb3d8d0b339ce83dd36704503253d874c7163b. Bad idea
Diffstat (limited to 'src/managers/XWaylandManager.cpp')
-rw-r--r--src/managers/XWaylandManager.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp
index dcb706e3..2883f205 100644
--- a/src/managers/XWaylandManager.cpp
+++ b/src/managers/XWaylandManager.cpp
@@ -262,9 +262,7 @@ void CHyprXWaylandManager::moveXWaylandWindow(CWindow* pWindow, const Vector2D&
if (!pWindow->m_bIsX11)
return;
- 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);
+ wlr_xwayland_surface_configure(pWindow->m_uSurface.xwayland, pos.x, pos.y, pWindow->m_vRealSize.vec().x, pWindow->m_vRealSize.vec().y);
}
void CHyprXWaylandManager::checkBorders(CWindow* pWindow) {