From 8d13c8dca1b0707f66589c4476056116df11783b Mon Sep 17 00:00:00 2001 From: zsien Date: Wed, 5 Jun 2024 15:37:40 +0800 Subject: [PATCH] fix: when compositing turned off a rounded corner border appears inside the window Issues: linuxdeepin/developer-center#8860 --- qml/Main.qml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qml/Main.qml b/qml/Main.qml index a862058f..6a9346dc 100644 --- a/qml/Main.qml +++ b/qml/Main.qml @@ -196,7 +196,7 @@ QtObject { } InsideBoxBorder { anchors.fill: parent - radius: windowedFrameWindow.DWindow.windowRadius + radius: WindowManagerHelper.hasComposite ? windowedFrameWindow.DWindow.windowRadius : 0 } color: "transparent"