diff options
author | vaxerski <[email protected]> | 2023-07-20 20:03:23 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2023-07-20 20:03:27 +0200 |
commit | 61dc0909ae72c79acc639b001813b4d9ed2e35ab (patch) | |
tree | 88d4f20bac03538c234b26e6fa29ef577ed208c2 | |
parent | ca54ceff6f8b3062f4782d134b6b63c42ccd9f63 (diff) | |
download | Hyprland-61dc0909ae72c79acc639b001813b4d9ed2e35ab.tar.gz Hyprland-61dc0909ae72c79acc639b001813b4d9ed2e35ab.zip |
layout: use warp() instead of setValue()
-rw-r--r-- | src/layout/IHyprLayout.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/layout/IHyprLayout.cpp b/src/layout/IHyprLayout.cpp index 15e1e687..43d2c871 100644 --- a/src/layout/IHyprLayout.cpp +++ b/src/layout/IHyprLayout.cpp @@ -159,8 +159,8 @@ void IHyprLayout::onWindowCreatedFloating(CWindow* pWindow) { } if (pWindow->m_bX11DoesntWantBorders || (pWindow->m_bIsX11 && pWindow->m_uSurface.xwayland->override_redirect)) { - pWindow->m_vRealPosition.setValue(pWindow->m_vRealPosition.goalv()); - pWindow->m_vRealSize.setValue(pWindow->m_vRealSize.goalv()); + pWindow->m_vRealPosition.warp(); + pWindow->m_vRealSize.warp(); } if (pWindow->m_iX11Type != 2) { |