Change the Frame Calculation to Use GetSystemMetricsForHwnd
SM_CXSIZEFRAME from GetSystemMetrics is based off of the primary monitor's DPI. GetSystemMetricsForHwnd accounts for the system metrics taking into account the DPI of the HWND. BUG=426656 Review-Url: https://codereview.chromium.org/2110323002 Cr-Commit-Position: refs/heads/master@{#403326}
Showing
Please register or sign in to comment