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
This commit is contained in:
Vlad Zagorodniy 2019-09-05 10:55:31 +03:00
parent 76e57ab5d0
commit 17cbe5bcbb

View file

@ -508,6 +508,7 @@ void Compositor::deleteUnusedSupportProperties()
// remove property from root window
xcb_delete_property(con, kwinApp()->x11RootWindow(), atom);
}
m_unusedSupportProperties.clear();
}
}