From eefc04d0c725dde364def4af6860da6f3d5a7a1a Mon Sep 17 00:00:00 2001 From: Marco Mattiolo Date: Fri, 19 Apr 2024 13:04:01 +0000 Subject: [PATCH] drop KX11Extras::compositingActive() as X11 is not supported --- shell/contents/views/Panel.qml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/shell/contents/views/Panel.qml b/shell/contents/views/Panel.qml index d44abb91..cbef0400 100644 --- a/shell/contents/views/Panel.qml +++ b/shell/contents/views/Panel.qml @@ -212,7 +212,7 @@ Item { property bool isAdaptive: panel.opacityMode === Panel.Global.Adaptive property bool floating: panel.floating readonly property bool screenCovered: !KWindowSystem.showingDesktop && touchingWindow && panel.visibilityMode == Panel.Global.NormalPanel - property var stateTriggers: [floating, screenCovered, isOpaque, isAdaptive, isTransparent, KX11Extras.compositingActive] + property var stateTriggers: [floating, screenCovered, isOpaque, isAdaptive, isTransparent] onStateTriggersChanged: { let opaqueApplets = false let floatingApplets = false @@ -233,7 +233,7 @@ Item { floatingness = 1 floatingApplets = true } - if (!KWindowSystem.isPlatformWayland && !KX11Extras.compositingActive) { + if (!KWindowSystem.isPlatformWayland) { opaqueApplets = false panelOpacity = 0 }