workspaces: keep the pill highlight while hovering its app icons

fixes #3839

(cherry picked from commit 112d05901f)
This commit is contained in:
bbedward committed 2026-10-21 11:25:02 -04:00
1 parent ff45b3b4b2
commit 4fa6f58720
1 file changed
+6 -1
@@ -375,7 +375,7 @@ BasePill {
}
property bool isOccupied: root.useNativeWorkspaces && CompositorService.workspaceOccupied(record)
property bool isPlaceholder: !!(record && record.placeholder)
property bool isHovered: mouseArea.containsMouse
property bool isHovered: pillHover.hovered
property bool loadedIsUrgent: false
property bool isUrgent: root.useNativeWorkspaces ? CompositorService.workspaceUrgent(record, loadedIsUrgent) : (modelData?.urgent ?? false)
@@ -615,6 +615,11 @@ BasePill {
}
}
HoverHandler {
id: pillHover
enabled: !isPlaceholder
}
MouseArea {
id: mouseArea
anchors.fill: parent