fix: interaction blocking at edges when fullscreen
Also completely disable interaction when fullscreen
This commit is contained in:
parent
03d2e98502
commit
9be727dbe1
1 changed files with 13 additions and 5 deletions
|
|
@ -61,11 +61,7 @@ StyledWindow {
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session || panels.dashboard.needsKeyboard ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
WlrLayershell.keyboardFocus: visibilities.launcher || visibilities.session || panels.dashboard.needsKeyboard ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||||
|
|
||||||
mask: Regions {
|
mask: hasFullscreen ? emptyRegion : regions
|
||||||
bar: bar
|
|
||||||
panels: panels
|
|
||||||
win: root
|
|
||||||
}
|
|
||||||
|
|
||||||
anchors.top: true
|
anchors.top: true
|
||||||
anchors.bottom: true
|
anchors.bottom: true
|
||||||
|
|
@ -90,6 +86,18 @@ StyledWindow {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Region {
|
||||||
|
id: emptyRegion
|
||||||
|
}
|
||||||
|
|
||||||
|
Regions {
|
||||||
|
id: regions
|
||||||
|
|
||||||
|
bar: bar
|
||||||
|
panels: panels
|
||||||
|
win: root
|
||||||
|
}
|
||||||
|
|
||||||
HyprlandFocusGrab {
|
HyprlandFocusGrab {
|
||||||
id: focusGrab
|
id: focusGrab
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue