From d3e5796ee1d298b3819d04febaae58ceb9230e5b Mon Sep 17 00:00:00 2001 From: Vaxry Date: Sat, 4 Nov 2023 23:00:20 +0000 Subject: [PATCH] layout: fix missed setWindowSize in no_gaps_when_only node apply fixes #3758 --- src/layout/DwindleLayout.cpp | 2 ++ src/layout/MasterLayout.cpp | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/layout/DwindleLayout.cpp b/src/layout/DwindleLayout.cpp index 2eb428ab..eed06751 100644 --- a/src/layout/DwindleLayout.cpp +++ b/src/layout/DwindleLayout.cpp @@ -158,6 +158,8 @@ void CHyprDwindleLayout::applyNodeDataToWindow(SDwindleNodeData* pNode, bool for PWINDOW->updateWindowDecos(); + g_pXWaylandManager->setWindowSize(PWINDOW, PWINDOW->m_vRealSize.goalv()); + return; } diff --git a/src/layout/MasterLayout.cpp b/src/layout/MasterLayout.cpp index e3b7b7ab..46a05aa8 100644 --- a/src/layout/MasterLayout.cpp +++ b/src/layout/MasterLayout.cpp @@ -668,6 +668,8 @@ void CHyprMasterLayout::applyNodeDataToWindow(SMasterNodeData* pNode) { PWINDOW->updateWindowDecos(); + g_pXWaylandManager->setWindowSize(PWINDOW, PWINDOW->m_vRealSize.goalv()); + return; }