From 17cbe5bcbb56feb8515992ca95059e63638f48ee Mon Sep 17 00:00:00 2001 From: Vlad Zagorodniy Date: Thu, 5 Sep 2019 10:55:31 +0300 Subject: [PATCH] Prevent deleting non-existing support properties on the root window Summary: Less likely to happen but still we need to handle this case. Reviewers: #kwin Subscribers: kwin Tags: #kwin Differential Revision: https://phabricator.kde.org/D23611 --- composite.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/composite.cpp b/composite.cpp index 1636b324cd..58d57fac70 100644 --- a/composite.cpp +++ b/composite.cpp @@ -508,6 +508,7 @@ void Compositor::deleteUnusedSupportProperties() // remove property from root window xcb_delete_property(con, kwinApp()->x11RootWindow(), atom); } + m_unusedSupportProperties.clear(); } }