aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorVaxry <[email protected]>2023-11-04 23:00:20 +0000
committerVaxry <[email protected]>2023-11-04 23:00:20 +0000
commitd3e5796ee1d298b3819d04febaae58ceb9230e5b (patch)
treeb9819d6e5b68f6eb782c45ee0932e2c915c07954
parent56dec1c6a28c59b11c00e1b727517484ec4fb5ac (diff)
downloadHyprland-d3e5796ee1d298b3819d04febaae58ceb9230e5b.tar.gz
Hyprland-d3e5796ee1d298b3819d04febaae58ceb9230e5b.zip
layout: fix missed setWindowSize in no_gaps_when_only node apply
fixes #3758
-rw-r--r--src/layout/DwindleLayout.cpp2
-rw-r--r--src/layout/MasterLayout.cpp2
2 files changed, 4 insertions, 0 deletions
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;
}