DescriptionRevert 265329 "Add SM_CXSIZEFRAME and SM_CXPADDEDBORDER metrics ..."
This sometimes causes a few issues with multimonitor setups. Also, r274853 fixes it more thoroughly.
> Add SM_CXSIZEFRAME and SM_CXPADDEDBORDER metrics to get window border size.
>
> Vista added the SM_CXPADDEDBORDER system metric which needs to be included
> in the border size. The previous code happened to work with 32-bit Chrome
> because Windows added the padding into SM_CXSIZEFRAME (and set the padding to 0)
> for backwards compatibility, but with 64-bit that changed.
> GetSystemMetrics(SM_CXPADDEDBORDER) should always return 0 on XP.
>
> BUG=361720
>
> Review URL: https://codereview.chromium.org/243173005
BUG=361720, 379321
TBR=jbauman@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275261
Patch Set 1 #
Messages
Total messages: 2 (0 generated)
|