1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-01-29 07:52:50 -05:00

hyprland: restore focus grab to tray menus

This commit is contained in:
bbedward
2025-11-19 17:24:14 -05:00
parent 8e95572589
commit 92fe8c5b14

View File

@@ -375,6 +375,11 @@ Item {
WlrLayershell.namespace: "dms:tray-overflow-menu" WlrLayershell.namespace: "dms:tray-overflow-menu"
color: "transparent" color: "transparent"
HyprlandFocusGrab {
windows: [overflowMenu]
active: CompositorService.isHyprland && root.menuOpen
}
anchors { anchors {
top: true top: true
left: true left: true
@@ -816,6 +821,11 @@ Item {
} }
color: "transparent" color: "transparent"
HyprlandFocusGrab {
windows: [menuWindow]
active: CompositorService.isHyprland && menuRoot.showMenu
}
anchors { anchors {
top: true top: true
left: true left: true