Fixed having to click twice to exit out of Spotlight/Cliphist/Powermenu (#1022)

There's possibly more but this fix the need of having to click the
background twice to close those modals.
This commit is contained in:
tsukasa authored and GitHub committed 2025-12-14 11:16:25 -05:00
1 parent fb75f4c68b
commit ca5fe6f7db
3 files changed
+3 -3

No files matched your search

@@ -13,7 +13,7 @@ DankModal {
layerNamespace: "dms:clipboard"
HyprlandFocusGrab {
windows: [clipboardHistoryModal.contentWindow]
windows: [clipboardHistoryModal.contentWindow, clipboardHistoryModal.backgroundWindow]
active: clipboardHistoryModal.useHyprlandFocusGrab && clipboardHistoryModal.shouldHaveFocus
}
+1 -1
View File
@@ -14,7 +14,7 @@ DankModal {
keepPopoutsOpen: true
HyprlandFocusGrab {
windows: [root.contentWindow]
windows: [root.contentWindow, root.backgroundWindow]
active: root.useHyprlandFocusGrab && root.shouldHaveFocus
}
@@ -11,7 +11,7 @@ DankModal {
layerNamespace: "dms:spotlight"
HyprlandFocusGrab {
windows: [spotlightModal.contentWindow]
windows: [spotlightModal.contentWindow, spotlightModal.backgroundWindow]
active: spotlightModal.useHyprlandFocusGrab && spotlightModal.shouldHaveFocus
}