launcher: keep the hyprland focus grab when the category dropdown opens

and remove sticky header divider

fixes #3472, #3471
This commit is contained in:
bbedward
2026-09-17 19:32:39 -04:00
parent 1bb13d8bcf
commit 8334ed3c19
5 changed files with 9 additions and 17 deletions
Generated
+3 -3
View File
@@ -3,11 +3,11 @@
"dank-qml-common": {
"flake": false,
"locked": {
"lastModified": 1789679713,
"narHash": "sha256-H2eceA9sHCRUg2x2jcgPExklflHSznCB+YPyx/DQ0dg=",
"lastModified": 1789687849,
"narHash": "sha256-yP9cklRRAGI5E6Ep5vC4QZtD4x3ydSmuPMzPL3EU144=",
"owner": "AvengeMedia",
"repo": "dank-qml-common",
"rev": "b2fc1ab68d7f0d5a92549b716f37e771662c154d",
"rev": "5aa2052d1c5332a4728d8b676f49d63258e5e14d",
"type": "github"
},
"original": {
@@ -577,7 +577,6 @@ Item {
void (stickyHeader.versionTrigger);
return root.controller?.canCollapseSection(stickyHeader.stickyHeaderSection?.id) ?? false;
}
isSticky: true
transientSurfaceTracker: root.transientSurfaceTracker
}
}
@@ -603,7 +602,6 @@ Item {
return root.controller?.canChangeSectionViewMode(section?.id ?? "") ?? false;
}
canCollapse: root.controller?.canCollapseSection(section?.id ?? "") ?? false
isSticky: true
popupAbove: true
transientSurfaceTracker: root.transientSurfaceTracker
}
@@ -17,7 +17,6 @@ Item {
property string viewMode: "list"
property bool canChangeViewMode: true
property bool canCollapse: true
property bool isSticky: false
property bool popupAbove: false
property Item popupAboveItem: null
property Item focusReturnTarget: null
@@ -147,13 +146,4 @@ Item {
root.controller.toggleSection(root.section.id);
}
}
Rectangle {
anchors.left: parent.left
anchors.right: parent.right
anchors.bottom: parent.bottom
height: Theme.dividerWidth
color: Theme.outlineVariant
visible: root.isSticky
}
}
+5 -1
View File
@@ -1,3 +1,7 @@
import qs.DankCommon.Widgets as DankCommon
import qs.Services
DankCommon.DankDropdown {}
DankCommon.DankDropdown {
// Hyprland drops a focus grab when a whitelisted popup takes its own xdg grab
popupGrabsFocus: !(CompositorService.useHyprlandFocusGrab && transientSurfaceTracker)
}