diff options
| author | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-29 19:52:35 +0200 |
|---|---|---|
| committer | vaxerski <43317083+vaxerski@users.noreply.github.com> | 2022-08-29 19:52:35 +0200 |
| commit | 179562b646851c06ee79fa4a5e2e7386885cee0e (patch) | |
| tree | 8a6f792732a67513abb525b5dbe9668693083f2f /src/Window.cpp | |
| parent | 20c050e890e3d58ac661a27716874e8d650f08b3 (diff) | |
fix dwindle groupbars
Diffstat (limited to 'src/Window.cpp')
| -rw-r--r-- | src/Window.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
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(); +} |
