summaryrefslogtreecommitdiff
path: root/src/layout/DwindleLayout.hpp
diff options
context:
space:
mode:
authorvaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-16 17:27:55 +0200
committervaxerski <43317083+vaxerski@users.noreply.github.com>2022-05-16 17:27:55 +0200
commite90c1f7022ffd82e463c48260a97850c834f347d (patch)
treeec8593b84ec0d374efce6b55e941f877c7d34a6e /src/layout/DwindleLayout.hpp
parente991550abe8f4b13af586d635cdfec3b5c18fcd9 (diff)
added dwindle:preserve_split
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 7eeb5793..c1fd7a7b 100644
--- a/src/layout/DwindleLayout.hpp
+++ b/src/layout/DwindleLayout.hpp
@@ -14,6 +14,8 @@ struct SDwindleNodeData {
std::array<SDwindleNodeData*, 2> children = { nullptr, nullptr };
+ bool splitTop = false; // for preserve_split
+
bool isGroup = false;
int groupMemberActive = 0;
std::deque<SDwindleNodeData*> groupMembers;