Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions panels/dock/package/main.qml
Original file line number Diff line number Diff line change
Expand Up @@ -69,8 +69,10 @@ Window {
}

DLayerShellWindow.anchors: position2Anchors(positionForAnimation)
DLayerShellWindow.layer: DLayerShellWindow.LayerTop
DLayerShellWindow.exclusionZone: Panel.hideMode === Dock.KeepShowing ? Applet.dockSize : 0
// Wayland: 升至 LayerOverlay,使 dock 弹窗经 get_popup 继承本层后压过通知横幅(bubble)。
// X11: 维持 LayerTop——x11dlayershellemulation 将 LayerOverlay 映射为 Notification 窗口类型,
// 会导致 KeepShowing 模式下 exclusionZone/strut 失效(见 x11dlayershellemulation.cpp:110 FIXME)。
DLayerShellWindow.layer: Qt.platform.pluginName === "wayland" ? DLayerShellWindow.LayerOverlay : DLayerShellWindow.LayerTop
DLayerShellWindow.scope: "dde-shell/dock"
DLayerShellWindow.keyboardInteractivity: DLayerShellWindow.KeyboardInteractivityNone

Expand Down
Loading