Skip to content

Commit

Permalink
Fix dwm shadow flash white edge problem.
Browse files Browse the repository at this point in the history
  • Loading branch information
halx99 committed Jul 9, 2020
1 parent d09f8ec commit 480be6e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion DmMain/src/Core/DMHWnd.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1392,7 +1392,7 @@ namespace DM
HRESULT hr = thisApp->m_fun_DwmSetWindowAttribute(m_hWnd, DWMWA_NCRENDERING_POLICY, &v, sizeof(v));

if (bEnabled && SUCCEEDED(hr)) {
MARGINS margins = { margin };
MARGINS margins = { margin, margin, margin, margin };
hr = thisApp->m_fun_DwmExtendFrameIntoClientArea(m_hWnd, &margins);
return SUCCEEDED(hr);
}
Expand Down

0 comments on commit 480be6e

Please sign in to comment.