on xenial help sign in
On Greeter lock, only save focus state of side stage app if side stage shown
a2cd704Gerry Boland
qml/Shell.qml+3−1
@@ -475,7 +475,9 @@ FocusScope {
475
475
476 function removeApplicationFocus() {
476 function removeApplicationFocus() {
477 greeter.previousMainApp = applicationManager.mainStageFocusedApplication;
477 greeter.previousMainApp = applicationManager.mainStageFocusedApplication;
478+ if (sideStage.fullyShown) { // if side stage hidden, don't focus it on restore
478− greeter.previousSideApp = applicationManager.sideStageFocusedApplication;
479+ greeter.previousSideApp = applicationManager.sideStageFocusedApplication;
480+ }
479 applicationManager.unfocusCurrentApplication();
481 applicationManager.unfocusCurrentApplication();
480 }
482 }
481
483