on xenial help sign in
move the mouse eater inside the dialog
eba2a60Lukáš Tinkl
qml/Components/Dialogs.qml+4−1
@@ -24,8 +24,11 @@ import Unity.Platform 1.0
24import Utils 0.1
24import Utils 0.1
25import "../Greeter"
25import "../Greeter"
26
26
27−Item {
27+MouseArea {
28 id: root
28 id: root
29+ acceptedButtons: Qt.AllButtons
30+ hoverEnabled: true
31+ onWheel: wheel.accepted = true
29
32
30 readonly property alias hasActiveDialog: dialogLoader.active
33 readonly property alias hasActiveDialog: dialogLoader.active
31
34
qml/Shell.qml−9
@@ -658,15 +658,6 @@ StyledItem {
658 }
658 }
659 }
659 }
660
660
661− MouseArea { // shell dialog prevents interacting with other contents
662− anchors.fill: parent
663− visible: dialogs.hasActiveDialog
664− enabled: visible
665− acceptedButtons: Qt.AllButtons
666− hoverEnabled: true
667− onWheel: wheel.accepted = true
668− }
669−
670 Connections {
661 Connections {
671 target: SessionBroadcast
662 target: SessionBroadcast
672 onShowHome: if (shell.mode !== "greeter") showHome()
663 onShowHome: if (shell.mode !== "greeter") showHome()