diff options
| author | Vaxry <vaxry@vaxry.net> | 2023-11-09 22:43:52 +0000 |
|---|---|---|
| committer | Vaxry <vaxry@vaxry.net> | 2023-11-09 22:43:52 +0000 |
| commit | 8dd02eb5f3d47ce67a33c836ea6d648bd6967962 (patch) | |
| tree | 0fc6553ec14b3b1a9d1373d9f8a5ea21204eca3d /src/managers/XWaylandManager.cpp | |
| parent | 14195835ef1dd25e10b0d873ec75c004b238ccba (diff) | |
xdg-shell: update reported size on ack_configure
Diffstat (limited to 'src/managers/XWaylandManager.cpp')
| -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 04fbaf21..f9d57a3f 100644 --- a/src/managers/XWaylandManager.cpp +++ b/src/managers/XWaylandManager.cpp @@ -180,7 +180,7 @@ 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, size.x, size.y); else - wlr_xdg_toplevel_set_size(pWindow->m_uSurface.xdg->toplevel, size.x, size.y); + pWindow->m_iPendingSizeAck = wlr_xdg_toplevel_set_size(pWindow->m_uSurface.xdg->toplevel, size.x, size.y); } void CHyprXWaylandManager::setWindowStyleTiled(CWindow* pWindow, uint32_t edgez) { |
