fix: interaction blocking at edges when fullscreen

Also completely disable interaction when fullscreen
This commit is contained in:
2 * r + 2 * t 2026-04-26 15:12:55 +10:00
parent 03d2e98502
commit 9be727dbe1

View file

@ -61,11 +61,7 @@ StyledWindow {
WlrLayershell.layer: WlrLayer.Overlay
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session || panels.dashboard.needsKeyboard ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
mask: Regions {
bar: bar
panels: panels
win: root
}
mask: hasFullscreen ? emptyRegion : regions
anchors.top: true
anchors.bottom: true
@ -90,6 +86,18 @@ StyledWindow {
}
}
Region {
id: emptyRegion
}
Regions {
id: regions
bar: bar
panels: panels
win: root
}
HyprlandFocusGrab {
id: focusGrab