Commit 12cb1c10 authored by Martin Flöser's avatar Martin Flöser

Port Compositor::deleteUnusedSupportProperties away from global x11 connection

Was already using the connection exposed by KWin::Application for parts
of the code. This makes the whole code use the KWin::Application code.
parent c87230c3
......@@ -464,10 +464,10 @@ void Compositor::deleteUnusedSupportProperties()
if (kwinApp()->x11Connection()) {
if (const auto c = kwinApp()->x11Connection()) {
foreach (const xcb_atom_t &atom, m_unusedSupportProperties) {
// remove property from root window
xcb_delete_property(connection(), rootWindow(), atom);
xcb_delete_property(c, kwinApp()->x11RootWindow(), atom);
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment