on xenial help sign in
hide greeter when launching/focusing apps from launcher/indicators
commit96529249af0735205f9bc1a53593e15edcc4826c authorMichael Zanetti <michael.zanetti@canonical.com> dateFri 4 Jul 2014, 19:37 (12 years ago) parent94ec64d
1 file changed+12−1
qml/Shell.qml+12−1
qml/Shell.qml+12−1
@@ -226,7 +226,18 @@ FocusScope {
226226
227227 Connections {
228228 target: ApplicationManager
229− onFocusRequested: { stages.show(); }
229+ onFocusRequested: {
230+ if (greeter.shown) {
231+ greeter.hide();
232+ }
233+ stages.show();
234+ }
235+
236+ onApplicationAdded: {
237+ if (greeter.shown) {
238+ greeter.hide();
239+ }
240+ }
230241
231242 onEmptyChanged: {
232243 if (ApplicationManager.empty) {