on xenial help sign in
focus the first one if we already have running apps when unity starts
commiteaf26f97b2dee5a5bd4af96b1eb5050aebc247a5 authorMichael Zanetti <michael.zanetti@canonical.com> dateWed 10 Sep 2014, 14:07 (12 years ago) parent0f0da0f
1 file changed+3
qml/Shell.qml+3
qml/Shell.qml+3
@@ -85,6 +85,9 @@ Item {
8585
8686 Component.onCompleted: {
8787 Theme.name = "Ubuntu.Components.Themes.SuruGradient"
88+ if (ApplicationManager.count > 0) {
89+ ApplicationManager.focusApplication(ApplicationManager.get(0).appId);
90+ }
8891 }
8992
9093 GSettings {