diff --git a/modules/drawers/ContentWindow.qml b/modules/drawers/ContentWindow.qml index dab1d606..5fbacd41 100644 --- a/modules/drawers/ContentWindow.qml +++ b/modules/drawers/ContentWindow.qml @@ -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