diff --git a/client/SDL/SDL3/sdl_context.cpp b/client/SDL/SDL3/sdl_context.cpp index 9655c54c2..9351c7adf 100644 --- a/client/SDL/SDL3/sdl_context.cpp +++ b/client/SDL/SDL3/sdl_context.cpp @@ -411,9 +411,6 @@ bool SdlContext::createWindows() if (!freerdp_settings_get_bool(settings, FreeRDP_Decorations)) flags |= SDL_WINDOW_BORDERLESS; - std::stringstream ss; - ss << title << ":" << x; - auto did = WINPR_ASSERTING_INT_CAST(SDL_DisplayID, id); auto window = SdlWindow::create(did, title, flags, w, h); diff --git a/client/SDL/SDL3/sdl_window.cpp b/client/SDL/SDL3/sdl_window.cpp index be1241d3e..b5e2dd90c 100644 --- a/client/SDL/SDL3/sdl_window.cpp +++ b/client/SDL/SDL3/sdl_window.cpp @@ -328,11 +328,8 @@ SdlWindow SdlWindow::create(SDL_DisplayID id, const std::string& title, Uint32 f height = static_cast(rect.h); } - std::stringstream ss; - ss << title << ":" << id; - SdlWindow window{ - ss.str(), startupX, startupY, static_cast(width), static_cast(height), flags - }; + SdlWindow window{ title, startupX, startupY, static_cast(width), static_cast(height), + flags }; if ((flags & (SDL_WINDOW_FULLSCREEN)) != 0) {