added dwindle:no_gaps_when_only

This commit is contained in:
vaxerski
2022-08-01 12:51:52 +02:00
parent 6378990bc3
commit f892387b70
5 changed files with 26 additions and 2 deletions

View File

@@ -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];