Fix client bounds on snapping
Before this change, when window is transitioning from maximized to snapped in a clamshell mode, the new bounds sent to the client included the caption height. But actually it shouldn't. The same issue is also observed for a snapped window in a tablet mode is transitioning to in a clamshell mode. This change fixes these bounds to have a correct client bounds. Bug: b:171283459 Test: ClientControlledShellSurfaceTest Change-Id: I9b566d17dd6e11c478b26c336b77e43cb49ca2e4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2494290 Commit-Queue: Hiroki Sato <hirokisato@chromium.org> Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#822594}
Showing
Please register or sign in to comment