Reduce redundant resize repaint passes

This commit is contained in:
2026-04-13 23:38:45 +08:00
parent 0d6b8bf7d8
commit d705cc839b
3 changed files with 17 additions and 9 deletions

View File

@@ -957,6 +957,7 @@ LRESULT CALLBACK Application::WndProc(HWND hwnd, UINT message, WPARAM wParam, LP
Application* application = Host::WindowMessageDispatcher::GetApplicationFromWindow(hwnd);
if (application != nullptr &&
Host::WindowMessageDispatcher::TryDispatch(
hwnd,
*application,
message,
wParam,