on xenial help sign in
Make shell disabled from the get-go instead of first greeter show
commit9cc97bca0ac415e1c14ff101f5a422109436de8e authorMichael Terry <michael.terry@canonical.com> dateFri 21 Nov 2014, 13:12 (12 years ago) parent5412000
1 file changed+5−1
qml/Shell.qml+5−1
qml/Shell.qml+5−1
@@ -44,6 +44,10 @@ import Unity.DashCommunicator 0.1
4444Item {
4545 id: shell
4646
47+ // Disable everything so that user can't swipe greeter or launcher until
48+ // we get first prompt/authenticate, which will re-enable the shell.
49+ enabled: false
50+
4751 // this is only here to select the width / height of the window if not running fullscreen
4852 property bool tablet: false
4953 width: tablet ? units.gu(160) : applicationArguments.hasGeometry() ? applicationArguments.width() : units.gu(40)
@@ -574,7 +578,7 @@ Item {
574578 onShownChanged: {
575579 if (shown) {
576580 // Disable everything so that user can't swipe greeter or
577− // launcher until we get first prompt/authenticate, which
581+ // launcher until we get the next prompt/authenticate, which
578582 // will re-enable the shell.
579583 shell.enabled = false;
580584