summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-01 12:51:52 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-08-01 12:51:52 +0200
commitf892387b7020ce27dbcf370244e26e09c9ecc1e5 (patch)
tree695902a254644b32a1589fd579403b7115d71223 /src/layout/DwindleLayout.hpp
parent6378990bc3e80fed74b30dc0e82fb051e2dbe1fa (diff)
added dwindle:no_gaps_when_only
Diffstat (limited to 'src/layout/DwindleLayout.hpp')
-rw-r--r--src/layout/DwindleLayout.hpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/layout/DwindleLayout.hpp b/src/layout/DwindleLayout.hpp
index b60b87e0..1dceb0c5 100644
--- a/src/layout/DwindleLayout.hpp
+++ b/src/layout/DwindleLayout.hpp
@@ -30,6 +30,8 @@ struct SDwindleNodeData {
float splitRatio = 1.f;
+ bool valid = true;
+
// For list lookup
bool operator==(const SDwindleNodeData& rhs) {
return pWindow == rhs.pWindow && workspaceID == rhs.workspaceID && position == rhs.position && size == rhs.size && pParent == rhs.pParent && children[0] == rhs.children[0] && children[1] == rhs.children[1];