Fix can not scroll issue in HiDPI after resize the window
The root cause of this issue is we use device pixel to check if the event is non client event but NonClientFrameView is using DIP coordinate. The mouse press event in resizing should be non client event otherwise FindTargetForEvent think some window is capturing the events then route the following events to wrong window until next mouse press. Bug: 881975 Change-Id: I66492c05e14add875775ae9dae32b456ab23f23d Reviewed-on: https://chromium-review.googlesource.com/c/1333992Reviewed-by:Sadrul Chowdhury <sadrul@chromium.org> Commit-Queue: Jianpeng Chao <chaopeng@chromium.org> Cr-Commit-Position: refs/heads/master@{#610080}
Showing
Please register or sign in to comment