Commit 5957ffcc authored by Vlad Zahorodnii's avatar Vlad Zahorodnii
Browse files

Port away from WId-based KWindowEffects API

parent 60734231
......@@ -103,7 +103,7 @@ void KWaylandIntegration::shellSurfaceCreated(QWindow *w)
}
const auto blurBehindProperty = w->property(s_blurBehindPropertyName.constData());
if (blurBehindProperty.isValid()) {
KWindowEffects::enableBlurBehind(w->winId(), blurBehindProperty.toBool());
KWindowEffects::enableBlurBehind(w, blurBehindProperty.toBool());
}
// create deco
Surface *s = Surface::fromWindow(w);
......
......@@ -88,7 +88,7 @@ bool X11Integration::eventFilter(QObject *watched, QEvent *event)
}
const auto blurBehindProperty = w->property(s_blurBehindPropertyName.constData());
if (blurBehindProperty.isValid()) {
KWindowEffects::enableBlurBehind(w->winId(), blurBehindProperty.toBool());
KWindowEffects::enableBlurBehind(w, blurBehindProperty.toBool());
}
installDesktopFileName(w);
}
......
Supports Markdown
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