[wayland] add a protection for updateEffects

--Blur effect under Plasma 5.12(wayland) creates
many crashes. As it appears for 5.13 this has been
greatly improved.
pull/2/head
Michail Vourlakos 7 years ago
parent fb8063cdee
commit 6163cecb6b

@ -1524,9 +1524,9 @@ void DockView::updateEffects()
{
//! CRASH: Dont update effects under wayland
//! because they arent supported yet
//if (KWindowSystem::isPlatformWayland()) {
// return;
//}
if (KWindowSystem::isPlatformWayland() && !m_drawEffects) {
return;
}
if (!m_behaveAsPlasmaPanel) {
if (m_drawEffects && !m_effectsArea.isNull() && !m_effectsArea.isEmpty()) {

Loading…
Cancel
Save