diff --git a/src/sessionmodel.cpp b/src/sessionmodel.cpp --- a/src/sessionmodel.cpp +++ b/src/sessionmodel.cpp @@ -82,7 +82,7 @@ if (line.startsWith(QLatin1String("Name="))) { si->name = line.mid(5); - if (type == SessionTypeWayland) { + if (type == SessionTypeWayland && !si->name.endsWith(QStringLiteral(" (Wayland)"))) { //we want to exactly match the SDDM prompt which is formatted in this way si->name = i18nc("%1 is the name of a session", "%1 (Wayland)", si->name); }