Adapt kwin to sliding change in kwaylandserver

This commit is contained in:
Adrien Faveraux 2020-11-30 21:08:51 +01:00 committed by Vlad Zahorodnii
parent b1a115aa76
commit 22ad35e876

View file

@ -31,7 +31,7 @@ SlidingPopupsEffect::SlidingPopupsEffect()
initConfig<SlidingPopupsConfig>();
KWaylandServer::Display *display = effects->waylandDisplay();
if (display) {
display->createSlideManager(this)->create();
display->createSlideManager(this);
}
m_slideLength = QFontMetrics(qApp->font()).height() * 8;