Chromium Code Reviews
DescriptionRestore maximized window position after detaching display.
Sometimes Windows incorrectly changes bounds of maximized windows after
attaching or detaching additional displays. In this case user can see
non-client area of the window (that should be hidden in normal case).
This workaround code restores window position if problem occurs and also
fixes problem with broken shortcuts for changing monitor (Win+Shift+Left
or Win+Shift+Right) for maximized and fullscreen mode, caused by
incorrect same monitor detection logic in OnWindowPosChanging() (see
crbug.com/656001).
BUG=651449, 656001
Committed: https://crrev.com/306338a1ac90527e74f9604cd5b202d1cdf2cb63
Cr-Commit-Position: refs/heads/master@{#432156}
Patch Set 1 #Patch Set 2 : First reverted patch: Restore maximized window position after detaching display. #Patch Set 3 : Second reverted patch: Don't apply maximized window bounds workaround if bounds aren't changed #Patch Set 4 : New changes #Messages
Total messages: 10 (3 generated)
|