The drag distance of the dragged window should based on work area.
We should drop the drag window into overview if it has been dragged further than half from the top of the work area to the top of the drop target. The old logic consider the drag distance based on the top of the display is not correct. Since the top of the display is not always equals to the top of the work area. e.g, enable dock magnifier will put a magnifier window in the top area of the display which will change the work area. Bug: 866680 Change-Id: I8b31c68501a36ed7fd82650a93145475f8c84e5c Reviewed-on: https://chromium-review.googlesource.com/c/1285353 Commit-Queue: Min Chen <minch@chromium.org> Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Cr-Commit-Position: refs/heads/master@{#600453}
Showing
This diff is collapsed.
Please register or sign in to comment