diff options
| author | staz <74452129+alyanser@users.noreply.github.com> | 2023-09-03 15:51:48 +0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2023-09-03 12:51:48 +0200 |
| commit | 01c6c5ae22b092c683096831978f77b6b532eca6 (patch) | |
| tree | a6d22ebc7a21c5b55aecd3e51b3e5eb7b100ac20 /src/managers/XWaylandManager.cpp | |
| parent | 423b129b24a0ff14c5e2898a748b916f892cc0b9 (diff) | |
internal: Revert rounding of window size (#3153)
* Revert "renderer: round coords and size in renderWindow"
This reverts commit fc0c1896e097b3c3b2170ae69d38724e43960fe1.
* Revert "xwaylandmgr: round reported sizes"
This reverts commit 2985e20e6a5868e710aa3bdaa2789a2023010611.
Diffstat (limited to 'src/managers/XWaylandManager.cpp')
| -rw-r--r-- | src/managers/XWaylandManager.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/managers/XWaylandManager.cpp b/src/managers/XWaylandManager.cpp index 78084591..76f979da 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -176,9 +176,9 @@ void CHyprXWaylandManager::setWindowSize(CWindow* pWindow, Vector2D size, bool f } if (pWindow->m_bIsX11) - wlr_xwayland_surface_configure(pWindow->m_uSurface.xwayland, windowPos.x, windowPos.y, std::round(size.x), std::round(size.y)); + wlr_xwayland_surface_configure(pWindow->m_uSurface.xwayland, windowPos.x, windowPos.y, size.x, size.y); else - wlr_xdg_toplevel_set_size(pWindow->m_uSurface.xdg->toplevel, std::round(size.x), std::round(size.y)); + wlr_xdg_toplevel_set_size(pWindow->m_uSurface.xdg->toplevel, size.x, size.y); } void CHyprXWaylandManager::setWindowStyleTiled(CWindow* pWindow, uint32_t edgez) { |
