internal: remove dead code (#8748)
This commit is contained in:
parent
bd7092a9fe
commit
e2c78c00e5
19 changed files with 2 additions and 127 deletions
|
|
@ -38,14 +38,6 @@ void SDwindleNodeData::recalcSizePosRecursive(bool force, bool horizontalOverrid
|
|||
}
|
||||
}
|
||||
|
||||
void SDwindleNodeData::getAllChildrenRecursive(std::vector<SDwindleNodeData*>* pVec) {
|
||||
if (children[0]) {
|
||||
children[0]->getAllChildrenRecursive(pVec);
|
||||
children[1]->getAllChildrenRecursive(pVec);
|
||||
} else
|
||||
pVec->push_back(this);
|
||||
}
|
||||
|
||||
int CHyprDwindleLayout::getNodesOnWorkspace(const WORKSPACEID& id) {
|
||||
int no = 0;
|
||||
for (auto const& n : m_lDwindleNodesData) {
|
||||
|
|
@ -804,15 +796,6 @@ void CHyprDwindleLayout::recalculateWindow(PHLWINDOW pWindow) {
|
|||
PNODE->recalcSizePosRecursive();
|
||||
}
|
||||
|
||||
static void addToVectorRecursive(std::vector<SDwindleNodeData*>* pVec, std::vector<SDwindleNodeData*>* pParents, SDwindleNodeData* node) {
|
||||
if (node->isNode) {
|
||||
pParents->emplace_back(node);
|
||||
addToVectorRecursive(pVec, pParents, node->children[0]);
|
||||
addToVectorRecursive(pVec, pParents, node->children[1]);
|
||||
} else
|
||||
pVec->emplace_back(node);
|
||||
}
|
||||
|
||||
SWindowRenderLayoutHints CHyprDwindleLayout::requestRenderHints(PHLWINDOW pWindow) {
|
||||
// window should be valid, insallah
|
||||
SWindowRenderLayoutHints hints;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue