forked from Shinonome/dots-hyprland
overview: fix kb focus on hl 0.49, mask visible region
This commit is contained in:
@@ -22,16 +22,20 @@ Scope {
|
|||||||
readonly property HyprlandMonitor monitor: Hyprland.monitorFor(root.screen)
|
readonly property HyprlandMonitor monitor: Hyprland.monitorFor(root.screen)
|
||||||
property bool monitorIsFocused: (Hyprland.focusedMonitor?.id == monitor.id)
|
property bool monitorIsFocused: (Hyprland.focusedMonitor?.id == monitor.id)
|
||||||
screen: modelData
|
screen: modelData
|
||||||
visible: true
|
visible: GlobalStates.overviewOpen
|
||||||
|
|
||||||
WlrLayershell.namespace: "quickshell:overview"
|
WlrLayershell.namespace: "quickshell:overview"
|
||||||
WlrLayershell.layer: WlrLayer.Overlay
|
WlrLayershell.layer: WlrLayer.Overlay
|
||||||
WlrLayershell.keyboardFocus: GlobalStates.overviewOpen ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
// WlrLayershell.keyboardFocus: GlobalStates.overviewOpen ? WlrKeyboardFocus.OnDemand : WlrKeyboardFocus.None
|
||||||
color: "transparent"
|
color: "transparent"
|
||||||
|
|
||||||
mask: Region {
|
mask: Region {
|
||||||
item: GlobalStates.overviewOpen ? columnLayout : null
|
item: GlobalStates.overviewOpen ? columnLayout : null
|
||||||
}
|
}
|
||||||
|
HyprlandWindow.visibleMask: Region {
|
||||||
|
item: GlobalStates.overviewOpen ? columnLayout : null
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
anchors {
|
anchors {
|
||||||
top: true
|
top: true
|
||||||
|
|||||||
Reference in New Issue
Block a user