mirror of
https://invent.kde.org/marcoa/shift-shell.git
synced 2026-04-26 14:23:09 +00:00
Fix dock reserver crash in convergence mode
navigationPanelThickness is explicitly 0 in convergence mode, so using it as the layer-shell surface height triggered a Wayland protocol error and crashed the shell. Use gridUnit * 3 directly, matching the dock bar height set on FavouritesBar.
This commit is contained in:
parent
0d230c5397
commit
276912bf31
1 changed files with 2 additions and 2 deletions
|
|
@ -158,13 +158,13 @@ ContainmentItem {
|
|||
color: "transparent"
|
||||
flags: Qt.FramelessWindowHint | Qt.WindowTransparentForInput
|
||||
// height is set by layer-shell anchoring; provide a fallback.
|
||||
height: root.navigationPanelHeight
|
||||
height: Kirigami.Units.gridUnit * 3
|
||||
width: 1 // layer-shell stretches it via AnchorLeft|AnchorRight
|
||||
|
||||
LayerShell.Window.scope: "dock-space"
|
||||
LayerShell.Window.layer: LayerShell.Window.LayerBottom
|
||||
LayerShell.Window.anchors: LayerShell.Window.AnchorBottom | LayerShell.Window.AnchorLeft | LayerShell.Window.AnchorRight
|
||||
LayerShell.Window.exclusionZone: root.navigationPanelHeight
|
||||
LayerShell.Window.exclusionZone: Kirigami.Units.gridUnit * 3
|
||||
LayerShell.Window.keyboardInteractivity: LayerShell.Window.KeyboardInteractivityNone
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue