summaryrefslogtreecommitdiff
path: root/src/desktop/Window.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/desktop/Window.cpp')
-rw-r--r--src/desktop/Window.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/desktop/Window.cpp b/src/desktop/Window.cpp
index b4af12f1..00066b27 100644
--- a/src/desktop/Window.cpp
+++ b/src/desktop/Window.cpp
@@ -211,6 +211,8 @@ void CWindow::updateWindowDecos() {
}
for (auto& wd : decos) {
+ if (std::find_if(m_dWindowDecorations.begin(), m_dWindowDecorations.end(), [wd](const auto& other) { return other.get() == wd; }) == m_dWindowDecorations.end())
+ continue;
wd->updateWindow(m_pSelf.lock());
}
}