on xenial help sign in
Remove the workarround as running the greeter in Mir resolves this issue
17f5839Josh Arenson
src/ShellApplication.cpp+1−5
@@ -112,11 +112,7 @@ ShellApplication::ShellApplication(int & argc, char ** argv, bool isMirServer)
112 }
112 }
113
113
114 if (parser.mode().compare("greeter") == 0) {
114 if (parser.mode().compare("greeter") == 0) {
115− QSize primaryScreenSize = this->primaryScreen()->size();
115+ m_shellView->showFullScreen();
116− m_shellView->setHeight(primaryScreenSize.height());
117− m_shellView->setWidth(primaryScreenSize.width());
118− m_shellView->show();
119− m_shellView->requestActivate();
120 if (!QProcess::startDetached("/sbin/initctl emit --no-wait unity8-greeter-started")) {
116 if (!QProcess::startDetached("/sbin/initctl emit --no-wait unity8-greeter-started")) {
121 qDebug() << "Unable to send unity8-greeter-started event to Upstart";
117 qDebug() << "Unable to send unity8-greeter-started event to Upstart";
122 }
118 }