From da9e2f4a78d90770f9483d3553ab707e589fe25d Mon Sep 17 00:00:00 2001 From: Reion Wong Date: Sun, 30 Aug 2026 23:36:09 -0400 Subject: [PATCH] refactor(kwin-plugins): remove compositing fallback config --- config/kwinrc | 3 --- tabbox/cutefish_thumbnail/contents/ui/main.qml | 12 ++++-------- 2 files changed, 4 insertions(+), 11 deletions(-) diff --git a/config/kwinrc b/config/kwinrc index 83c76cd..d291ba2 100644 --- a/config/kwinrc +++ b/config/kwinrc @@ -1,6 +1,3 @@ -[Compositing] -OpenGLIsUnsafe=false - [Plugins] blurEnabled=true dialogparentEnabled=true diff --git a/tabbox/cutefish_thumbnail/contents/ui/main.qml b/tabbox/cutefish_thumbnail/contents/ui/main.qml index a505c90..4f7acaf 100755 --- a/tabbox/cutefish_thumbnail/contents/ui/main.qml +++ b/tabbox/cutefish_thumbnail/contents/ui/main.qml @@ -41,15 +41,11 @@ KWin.TabBoxSwitcher { x: tabBox.screenGeometry.x + (tabBox.screenGeometry.width - dialog.width) / 2 y: tabBox.screenGeometry.y + (tabBox.screenGeometry.height - dialog.height) / 2 - FishUI.WindowHelper { - id: windowHelper - } - FishUI.WindowBlur { view: dialog geometry: Qt.rect(dialog.x, dialog.y, dialog.width, dialog.height) windowRadius: _background.radius - enabled: windowHelper.compositing + enabled: true } FishUI.WindowShadow { @@ -61,12 +57,12 @@ KWin.TabBoxSwitcher { Rectangle { id: _background anchors.fill: parent - radius: windowHelper.compositing ? 14 : 0 + radius: 14 color: FishUI.Theme.backgroundColor - opacity: windowHelper.compositing ? (FishUI.Theme.darkMode ? 0.3 : 0.4) : 1.0 + opacity: FishUI.Theme.darkMode ? 0.3 : 0.4 border.color: FishUI.Theme.darkMode ? "#686868" : "#D9D9D9" - border.width: windowHelper.compositing ? 0 : 1 + border.width: 0 } onVisibleChanged: {