fix crash in dwindle

This commit is contained in:
Vaxry 2024-04-27 03:42:50 +01:00
parent 9dff454cc7
commit 53debc7e30
1 changed files with 2 additions and 1 deletions

View File

@ -34,7 +34,8 @@ struct SDwindleNodeData {
// For list lookup
bool operator==(const SDwindleNodeData& rhs) const {
return pWindow.lock() == rhs.pWindow.lock();
return pWindow.lock() == rhs.pWindow.lock() && workspaceID == rhs.workspaceID && box == rhs.box && pParent == rhs.pParent && children[0] == rhs.children[0] &&
children[1] == rhs.children[1];
}
void recalcSizePosRecursive(bool force = false, bool horizontalOverride = false, bool verticalOverride = false);