@@ -68,6 +68,7 @@ StyledItem {
68 stage.updateFocusedAppOrientationAnimated();
68 stage.updateFocusedAppOrientationAnimated();
70 property bool hasMouse: false
70 property bool hasMouse: false
71+ property bool hasKeyboard: false
72 // to be read from outside
73 // to be read from outside
73 readonly property int mainAppWindowOrientationAngle: stage.mainAppWindowOrientationAngle
74 readonly property int mainAppWindowOrientationAngle: stage.mainAppWindowOrientationAngle
@@ -666,6 +667,7 @@ StyledItem {
666 anchors.fill: parent
667 anchors.fill: parent
667 z: overlay.z + 10
668 z: overlay.z + 10
668 usageScenario: shell.usageScenario
669 usageScenario: shell.usageScenario
670+ hasKeyboard: shell.hasKeyboard
669 onPowerOffClicked: {
671 onPowerOffClicked: {
670 shutdownFadeOutRectangle.enabled = true;
672 shutdownFadeOutRectangle.enabled = true;
671 shutdownFadeOutRectangle.visible = true;
673 shutdownFadeOutRectangle.visible = true;
@@ -673,6 +675,15 @@ StyledItem {
678+ MouseArea { // shell dialog prevents interacting with other contents
679+ anchors.fill: parent
680+ visible: dialogs.hasActiveDialog
682+ acceptedButtons: Qt.AllButtons
684+ onWheel: wheel.accepted = true
676 Connections {
687 Connections {
677 target: SessionBroadcast
688 target: SessionBroadcast
678 onShowHome: if (shell.mode !== "greeter") showHome()
689 onShowHome: if (shell.mode !== "greeter") showHome()