From ab11e50229e6e5a6b82aab8ebf3d93bec27a9b93 Mon Sep 17 00:00:00 2001 From: Egor Date: Sat, 26 Oct 2019 09:00:06 -0700 Subject: Linux app: fixed window title --- Common/NativeApp/src/Linux/LinuxMain.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Common/NativeApp/src') diff --git a/Common/NativeApp/src/Linux/LinuxMain.cpp b/Common/NativeApp/src/Linux/LinuxMain.cpp index 801ab49..93a3235 100644 --- a/Common/NativeApp/src/Linux/LinuxMain.cpp +++ b/Common/NativeApp/src/Linux/LinuxMain.cpp @@ -213,7 +213,6 @@ int xcb_main() std::unique_ptr TheApp(CreateApplication()); std::string Title = TheApp->GetAppTitle(); - Title += " (Vulkan)"; auto xcbInfo = InitXCBConnectionAndWindow(Title); TheApp->InitVulkan(xcbInfo.connection, xcbInfo.window); @@ -221,6 +220,7 @@ int xcb_main() Timer timer; auto PrevTime = timer.GetElapsedTime(); + Title = TheApp->GetAppTitle(); WindowTitleHelper TitleHelper(Title); while (true) @@ -417,7 +417,6 @@ int x_main() glXMakeCurrent(display, win, ctx); TheApp->OnGLContextCreated(display, win); std::string Title = TheApp->GetAppTitle(); - Title += " (OpenGL)"; Timer timer; auto PrevTime = timer.GetElapsedTime(); -- cgit v1.2.3