aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorvaxerski <[email protected]>2022-05-28 20:54:15 +0200
committervaxerski <[email protected]>2022-05-28 20:54:15 +0200
commit08e0567d3ae348f950aacbb734ead61b0d8eebe1 (patch)
tree9865766e35d27d39689eb821791e5ef2360e82fd
parent685cf1e00dd0278ffc122675b834d2ad429a71fc (diff)
downloadHyprland-08e0567d3ae348f950aacbb734ead61b0d8eebe1.tar.gz
Hyprland-08e0567d3ae348f950aacbb734ead61b0d8eebe1.zip
fix typo in GDK offset adjustments
-rw-r--r--src/managers/XWaylandManager.cpp2
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);
}
}