diff options
author | vaxerski <[email protected]> | 2022-05-28 20:54:15 +0200 |
---|---|---|
committer | vaxerski <[email protected]> | 2022-05-28 20:54:15 +0200 |
commit | 08e0567d3ae348f950aacbb734ead61b0d8eebe1 (patch) | |
tree | 9865766e35d27d39689eb821791e5ef2360e82fd | |
parent | 685cf1e00dd0278ffc122675b834d2ad429a71fc (diff) | |
download | Hyprland-08e0567d3ae348f950aacbb734ead61b0d8eebe1.tar.gz Hyprland-08e0567d3ae348f950aacbb734ead61b0d8eebe1.zip |
fix typo in GDK offset adjustments
-rw-r--r-- | src/managers/XWaylandManager.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index 411c4802..9c402419 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -126,7 +126,7 @@ void CHyprXWaylandManager::setWindowSize(CWindow* pWindow, const Vector2D& size) const auto XDELTA = pWindow->m_uSurface.xdg->surface->current.width - pWindow->m_uSurface.xdg->current.geometry.width; const auto YDELTA = pWindow->m_uSurface.xdg->surface->current.height - pWindow->m_uSurface.xdg->current.geometry.height; - wlr_xdg_toplevel_set_size(pWindow->m_uSurface.xdg->toplevel, size.x - XDELTA, size.y - YDELTA * 2); + wlr_xdg_toplevel_set_size(pWindow->m_uSurface.xdg->toplevel, size.x - XDELTA, size.y - YDELTA); } } |