1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-10 15:38:31 -04:00

fix(dock): preserve overview-only visibility (#3029)

This commit is contained in:
Huỳnh Thiện Lộc
2026-08-11 02:24:50 +07:00
committed by GitHub
parent 422406267e
commit c3c9b13ef6
2 changed files with 2 additions and 2 deletions
+1 -1
View File
@@ -9,7 +9,7 @@ import qs.Widgets
Variants {
id: dockVariants
// Connected frame mode renders the dock inside the frame surface; skip the standalone window there.
model: SettingsData.showDock ? SettingsData.getFilteredScreens("dock").filter(screen => !CompositorService.frameHostsDockForScreen(screen)) : []
model: (SettingsData.showDock || (CompositorService.isNiri && SettingsData.dockOpenOnOverview)) ? SettingsData.getFilteredScreens("dock").filter(screen => !CompositorService.frameHostsDockForScreen(screen)) : []
property var contextMenu
property var trashContextMenu
+1 -1
View File
@@ -381,7 +381,7 @@ Item {
}
readonly property real dockReserveZone: dockGeometry.reserveZone
readonly property bool shouldReserveDockSpace: dockGeometry.shouldReserveSpace
readonly property bool shouldReserveDockSpace: SettingsData.showDock && dockGeometry.shouldReserveSpace
readonly property real surfaceExclusiveZone: {
if (!dock.shouldReserveDockSpace)