Convert host->SetWindowTitle to a request

This commit is contained in:
Henrik Rydgård committed 2023-03-24 17:52:01 +01:00
1 parent 349b73acec
commit 1250692657
14 files changed
+43 -45

No files matched your search

+2 -1
View File
@@ -4,6 +4,7 @@
#include "Common/System/NativeApp.h"
#include "Common/System/System.h"
#include "Common/System/Request.h"
#include "Common/Data/Text/I18n.h"
#include "Common/Input/InputState.h"
#include "Common/Data/Encoding/Utf8.h"
@@ -160,7 +161,7 @@ void MainThreadFunc() {
}
host = new WindowsHost(MainWindow::GetHInstance(), MainWindow::GetHWND(), MainWindow::GetDisplayHWND());
host->SetWindowTitle(nullptr);
System_SetWindowTitle("");
// We convert command line arguments to UTF-8 immediately.
std::vector<std::wstring> wideArgs = GetWideCmdLine();