mirror of
https://invent.kde.org/plasma/plasma-desktop.git
synced 2026-11-03 22:59:45 -09:00
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:
parent
e5bf3384cd
commit
d71b0099e7
1 changed files with 2 additions and 0 deletions
|
|
@ -296,6 +296,8 @@ ContainmentItem {
|
||||||
configKey: "ItemGeometries-" + Math.round(root.screenGeometry.width) + "x" + Math.round(root.screenGeometry.height)
|
configKey: "ItemGeometries-" + Math.round(root.screenGeometry.width) + "x" + Math.round(root.screenGeometry.height)
|
||||||
fallbackConfigKey: root.availableScreenRect.width > root.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
|
fallbackConfigKey: root.availableScreenRect.width > root.availableScreenRect.height ? "ItemGeometriesHorizontal" : "ItemGeometriesVertical"
|
||||||
|
|
||||||
|
focusPolicy: Qt.StrongFocus
|
||||||
|
|
||||||
Binding on containment {
|
Binding on containment {
|
||||||
value: Plasmoid
|
value: Plasmoid
|
||||||
when: Plasmoid.isContainment
|
when: Plasmoid.isContainment
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue