Trim legacy web binding and Win32 pointer state

This commit is contained in:
2026-06-17 11:06:02 +02:00
parent 06bfd62546
commit cf2fcd36e4
8 changed files with 27 additions and 53 deletions

View File

@@ -19,7 +19,6 @@ namespace {
struct RetainedMainWindowSessionState final {
HWND handle{};
wchar_t title[512]{};
POINT last_point{};
bool sandboxed = false;
};
@@ -170,16 +169,6 @@ void set_main_window_sandboxed(bool sandboxed) noexcept
retained_main_window_session_state().sandboxed = sandboxed;
}
POINT main_window_last_point() noexcept
{
return retained_main_window_session_state().last_point;
}
void set_main_window_last_point(POINT point) noexcept
{
retained_main_window_session_state().last_point = point;
}
int run_main_application(int argc, char** argv)
{
const auto instance = GetModuleHandle(NULL);