diff --git a/app/streaming/session.cpp b/app/streaming/session.cpp index d7672309..60103806 100644 --- a/app/streaming/session.cpp +++ b/app/streaming/session.cpp @@ -1591,7 +1591,14 @@ void Session::execInternal() } } + // We use only the computer name on macOS to match Apple conventions where the + // app name is featured in the menu bar and the document name is in the title bar. +#ifdef Q_OS_DARWIN + std::string windowName = QString(m_Computer->name).toStdString(); +#else std::string windowName = QString(m_Computer->name + " - Moonlight").toStdString(); +#endif + m_Window = SDL_CreateWindow(windowName.c_str(), x, y,