From 179562b646851c06ee79fa4a5e2e7386885cee0e Mon Sep 17 00:00:00 2001 From: vaxerski <43317083+vaxerski@users.noreply.github.com> Date: Mon, 29 Aug 2022 19:52:35 +0200 Subject: fix dwindle groupbars --- src/Window.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'src/Window.cpp') diff --git a/src/Window.cpp b/src/Window.cpp index d5b24841..d0ea4f24 100644 --- a/src/Window.cpp +++ b/src/Window.cpp @@ -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(); +} -- cgit v1.2.3