on xenial help sign in
Remove fixme hack as ApplicationManager better behaved now
commita2f764ea4e40e061cc3b7fae1de974b2ff4f4e11 authorGerry Boland <gerry.boland@canonical.com> dateMon 9 Sep 2013, 11:04 (13 years ago) parent4a1024d
1 file changed+2−4
Shell.qml+2−4
Shell.qml+2−4
@@ -502,10 +502,8 @@ FocusScope {
502502
503503 function setFocused(focused) {
504504 if (!focused) {
505− // FIXME: *FocusedApplication are not updated when unfocused, hence the need to check whether
506− // the stage was actually shown
507− if (mainStage.fullyShown) powerConnection.previousMainApp = applicationManager.mainStageFocusedApplication;
508− if (sideStage.fullyShown) powerConnection.previousSideApp = applicationManager.sideStageFocusedApplication;
505+ powerConnection.previousMainApp = applicationManager.mainStageFocusedApplication;
506+ powerConnection.previousSideApp = applicationManager.sideStageFocusedApplication;
509507 applicationManager.unfocusCurrentApplication();
510508 } else {
511509 if (powerConnection.previousMainApp) {