on xenial help sign in
merge in lp:~gerboland/unity8/sidestage-unlock-sidestage-appears
9750ad5Kevin Gunn
qml/Shell.qml+3−1
@@ -445,7 +445,9 @@ FocusScope {
445
445
446 function removeApplicationFocus() {
446 function removeApplicationFocus() {
447 greeter.previousMainApp = applicationManager.mainStageFocusedApplication;
447 greeter.previousMainApp = applicationManager.mainStageFocusedApplication;
448+ if (sideStage.fullyShown) { // if side stage hidden, don't focus it on restore
448− greeter.previousSideApp = applicationManager.sideStageFocusedApplication;
449+ greeter.previousSideApp = applicationManager.sideStageFocusedApplication;
450+ }
449 applicationManager.unfocusCurrentApplication();
451 applicationManager.unfocusCurrentApplication();
450 }
452 }
451
453