fix dwindle groupbars

This commit is contained in:
vaxerski
2022-08-29 19:52:35 +02:00
parent 20c050e890
commit 179562b646
4 changed files with 22 additions and 5 deletions

View File

@@ -233,3 +233,12 @@ CWindow* CWindow::X11TransientFor() {
return PPARENT;
}
void CWindow::removeDecorationByType(eDecorationType type) {
for (auto& wd : m_dWindowDecorations) {
if (wd->getDecorationType() == type)
m_vDecosToRemove.push_back(wd.get());
}
updateWindowDecos();
}