Chromium Code Reviews
DescriptionFix window drawing after snap on Windows 10.
Sometimes during window snap the window will receive
WM_WINDOWPOSCHANGING with a new size, but not WM_WINDOWPOSCHANGED. This
causes Chrome to avoid drawing to the window because it thinks that
might cause the window contents to be stretched.
To prevent this post a windows message in the WM_WINDOWPOSCHANGING
handler, and if that message is received without a WM_WINDOWPOSCHANGED
then re-enable drawing.
BUG=562681
Committed: https://crrev.com/96d62242ba604ad301eb29dcb7e9b3e3c21f6aaf
Cr-Commit-Position: refs/heads/master@{#409096}
Patch Set 1 #Patch Set 2 : #Patch Set 3 : use PostMessage #Patch Set 4 : fix signedness #
Total comments: 1
Messages
Total messages: 20 (13 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||