Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions QuickView/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -6142,6 +6142,10 @@ LRESULT CALLBACK WndProc(HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam)
// [Refactor] Use Centralized SyncDCompState
RECT rc; GetClientRect(hwnd, &rc);
SyncDCompState(hwnd, (float)rc.right, (float)rc.bottom);
if (g_compEngine) {
g_compEngine->Commit();
DwmFlush();
}
}


Expand Down Expand Up @@ -8835,6 +8839,7 @@ void OnResize(HWND hwnd, UINT width, UINT height) {
SyncDCompState(hwnd, (float)width, (float)height);
}
g_compEngine->Commit();
DwmFlush();
}
if (g_uiRenderer) g_uiRenderer->OnResize(width, height);
g_toolbar.UpdateLayout((float)width, (float)height);
Expand Down