on xenial help sign in
hide greeter when launching/focusing apps from launcher/indicators
9652924Michael Zanetti
qml/Shell.qml+12−1
@@ -226,7 +226,18 @@ FocusScope {
226
226
227 Connections {
227 Connections {
228 target: ApplicationManager
228 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+ }
230
241
231 onEmptyChanged: {
242 onEmptyChanged: {
232 if (ApplicationManager.empty) {
243 if (ApplicationManager.empty) {