Adapt Contrast to new KWaylandServer

This commit is contained in:
Adrien Faveraux 2020-07-09 22:33:14 +02:00 committed by Vlad Zahorodnii
parent ae12cf9784
commit 6f640ece79

View file

@ -48,7 +48,6 @@ ContrastEffect::ContrastEffect()
KWaylandServer::Display *display = effects->waylandDisplay();
if (display) {
m_contrastManager = display->createContrastManager(this);
m_contrastManager->create();
}
} else {
net_wm_contrast_region = 0;