mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-29 15:03:09 +00:00
drop KX11Extras::compositingActive() as X11 is not supported
This commit is contained in:
parent
a889968e25
commit
eefc04d0c7
1 changed files with 2 additions and 2 deletions
|
|
@ -212,7 +212,7 @@ Item {
|
||||||
property bool isAdaptive: panel.opacityMode === Panel.Global.Adaptive
|
property bool isAdaptive: panel.opacityMode === Panel.Global.Adaptive
|
||||||
property bool floating: panel.floating
|
property bool floating: panel.floating
|
||||||
readonly property bool screenCovered: !KWindowSystem.showingDesktop && touchingWindow && panel.visibilityMode == Panel.Global.NormalPanel
|
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: {
|
onStateTriggersChanged: {
|
||||||
let opaqueApplets = false
|
let opaqueApplets = false
|
||||||
let floatingApplets = false
|
let floatingApplets = false
|
||||||
|
|
@ -233,7 +233,7 @@ Item {
|
||||||
floatingness = 1
|
floatingness = 1
|
||||||
floatingApplets = true
|
floatingApplets = true
|
||||||
}
|
}
|
||||||
if (!KWindowSystem.isPlatformWayland && !KX11Extras.compositingActive) {
|
if (!KWindowSystem.isPlatformWayland) {
|
||||||
opaqueApplets = false
|
opaqueApplets = false
|
||||||
panelOpacity = 0
|
panelOpacity = 0
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue