@@ -63,8 +63,10 @@ Item {
6363 }
6464
6565 function setFakeActiveForApp(app) {
66− greeter.fakeActiveForApp = app
67− lockscreen.hide()
66+ if (shell.locked) {
67+ greeter.fakeActiveForApp = app
68+ lockscreen.hide()
69+ }
6870 }
6971
7072 Binding {
@@ -129,7 +131,7 @@ Item {
129131 Connections {
130132 target: ApplicationManager
131133 onFocusRequested: {
132− if (LightDM.Greeter.active && appId === "dialer-app") {
134+ if (appId === "dialer-app") {
133135 // Always let the dialer-app through. Either user asked
134136 // for an emergency call or accepted an incoming call.
135137 setFakeActiveForApp(appId)