Desktop Containment: Give desktop focus on click

This removes focus form any applet, such as the notes plasmoid.

Folderview is not affected as the folder layer takes the clicks and
focus

BUG:434090
This commit is contained in:
Marco Martin 2026-10-27 17:04:11 +01:00
parent e5bf3384cd
commit d71b0099e7

View file

@ -296,6 +296,8 @@ ContainmentItem {
configKey: "ItemGeometries-" + Math.round(root.screenGeometry.width) + "x" + Math.round(root.screenGeometry.height)
fallbackConfigKey: root.availableScreenRect.width > root.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
focusPolicy: Qt.StrongFocus
Binding on containment {
value: Plasmoid
when: Plasmoid.isContainment