For "ecode" set on startup window title to "ecode". (#106)

This prevents displaying ecode as "unnamed window" in XUbuntu task manager (and maybe in other similar software).
This commit is contained in:
Panzerschrek
2025-04-09 12:28:38 -03:00
committed by GitHub
parent 2458e30db1
commit 8df0793590
+1
View File
@@ -3511,6 +3511,7 @@ void App::init( const LogLevel& logLevel, std::string file, const Float& pidelDe
Engine* engine = Engine::instance();
WindowSettings winSettings = engine->createWindowSettings( &mConfig.iniState, "window" );
winSettings.Title = "ecode";
winSettings.PixelDensity = 1;
winSettings.Width = mConfig.windowState.size.getWidth();
winSettings.Height = mConfig.windowState.size.getHeight();