diff --git a/shell-launcher-applet/package/launcheritem.qml b/shell-launcher-applet/package/launcheritem.qml index e89c8c17..c332d10f 100644 --- a/shell-launcher-applet/package/launcheritem.qml +++ b/shell-launcher-applet/package/launcheritem.qml @@ -200,11 +200,16 @@ AppletItem { } DLayerShellWindow.anchors: DLayerShellWindow.AnchorBottom | DLayerShellWindow.AnchorTop | DLayerShellWindow.AnchorLeft | DLayerShellWindow.AnchorRight - DLayerShellWindow.layer: DLayerShellWindow.LayerOverlay + DLayerShellWindow.layer: DLayerShellWindow.LayerTop DLayerShellWindow.keyboardInteractivity: DLayerShellWindow.KeyboardInteractivityOnDemand DLayerShellWindow.exclusionZone: -1 DLayerShellWindow.scope: "dde-shell/launchpad" + flags: { + if (DebugHelper.useRegularWindow) return Qt.Window + return (Qt.FramelessWindowHint | Qt.Tool) + } + DWindow.enabled: !DebugHelper.useRegularWindow DWindow.windowRadius: 0 DWindow.enableSystemResize: false