Descriptionash: Do not constrain window bounds if requested
If a client requests to set window bounds directly, Ash should not
interfere, e.g. by constraining them to the workspace size.
ARC windows are maximized to the display rather than the workspace.
However, Ash would constrain the ShellSurface bounds to the workspace
size. As a result, if the shelf was positioned to the left, the right
edge of the window would be displaced from that of the display by the
width of the shelf, so the app was unresponsive to input in that gap.
BUG=709616
TEST=Print window hierarchy using debug shortcut, and verify that the
bounds of a maximized ShellSurface match the display bounds.
Review-Url: https://codereview.chromium.org/2806783002
Cr-Commit-Position: refs/heads/master@{#464242}
Committed: https://chromium.googlesource.com/chromium/src/+/ef7d5fbdaadfd3c2ed18d662d2ef754e5d208c76
Patch Set 1 #Patch Set 2 : Fix tests #
Total comments: 2
Patch Set 3 : Remove dead code #
Messages
Total messages: 29 (18 generated)
|