xwayland: avoid sending value of real size to xwayland

This commit is contained in:
Vaxry
2025-01-24 00:25:14 +00:00
parent d075d1cab9
commit 5d8261aee2

View File

@@ -55,7 +55,7 @@ void CHyprXWaylandManager::activateWindow(PHLWINDOW pWindow, bool activate) {
if (pWindow->m_bIsX11) {
if (activate) {
setWindowSize(pWindow, pWindow->m_vRealSize->value()); // update xwayland output pos
setWindowSize(pWindow, pWindow->m_vRealSize->goal()); // update xwayland output pos
pWindow->m_pXWaylandSurface->setMinimized(false);
if (!pWindow->isX11OverrideRedirect())