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:
@@ -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
|
||||
|
||||
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user