mirror of
https://github.com/morgan9e/FreeRDP
synced 2026-04-14 00:14:11 +09:00
[client,sdl] remove display id from title
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -328,11 +328,8 @@ SdlWindow SdlWindow::create(SDL_DisplayID id, const std::string& title, Uint32 f
|
||||
height = static_cast<Uint32>(rect.h);
|
||||
}
|
||||
|
||||
std::stringstream ss;
|
||||
ss << title << ":" << id;
|
||||
SdlWindow window{
|
||||
ss.str(), startupX, startupY, static_cast<int>(width), static_cast<int>(height), flags
|
||||
};
|
||||
SdlWindow window{ title, startupX, startupY, static_cast<int>(width), static_cast<int>(height),
|
||||
flags };
|
||||
|
||||
if ((flags & (SDL_WINDOW_FULLSCREEN)) != 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user