1
0
mirror of https://github.com/AvengeMedia/DankMaterialShell.git synced 2026-08-07 14:08:29 -04:00

launcher: fix hyprland focus on context menu

fixes #2714
This commit is contained in:
bbedward
2026-06-30 10:04:44 -04:00
parent 9d550d7c11
commit 161118122e
4 changed files with 21 additions and 4 deletions
@@ -259,7 +259,9 @@ Item {
HyprlandFocusGrab {
id: focusGrab
windows: [launcherWindow]
readonly property var contextMenuWindow: root.spotlightContent?.activeContextMenu?.contextWindow ?? null
readonly property bool contextMenuActive: root.spotlightContent?.activeContextMenu?.renderActive ?? false
windows: contextMenuActive && contextMenuWindow ? [launcherWindow, contextMenuWindow] : [launcherWindow]
active: root.useHyprlandFocusGrab && root.keyboardActive
onCleared: {