on xenial help sign in
Revert "Add mir::FreeStyleType"

This reverts commit 0113428bef689ca02481e05884e0840bfca2ee41.

commit8f05874622343b2ea2bfe3c9c74e1c96b0126107 authorMarius Gripsgard <mariogrip@ubuntu.com> dateSun 14 Jan 2018, 21:13 (9 years ago) parentc444818
1 file changed+1−1
plugins/Unity/Launcher/launchermodel.cpp+1−1
plugins/Unity/Launcher/launchermodel.cpp+1−1
@@ -574,7 +574,7 @@ void LauncherModel::updateSurfaceListForApp(ApplicationInfoInterface* app)
574574 QList<QPair<QString, QString> > surfaces;
575575 for (int i = 0; i < app->surfaceList()->count(); ++i) {
576576 MirSurfaceInterface* iface = app->surfaceList()->get(i);
577− if (iface->type() == Mir::NormalType || iface->type() == Mir::DialogType || iface->type() == Mir::FreeStyleType) {
577+ if (iface->type() == Mir::NormalType || iface->type() == Mir::DialogType) {
578578 // Avoid duplicate connections, so let's just disconnect first to be sure
579579 disconnect(iface, &MirSurfaceInterface::nameChanged, this, &LauncherModel::updateSurfaceListForSurface);
580580 connect(iface, &MirSurfaceInterface::nameChanged, this, &LauncherModel::updateSurfaceListForSurface);