Fix bug that touch-dragging window to the display edge causes system crash
In current code, we have no constraints on gesture event's location. As result, when window is dragged by touch-gestures to the edge of display, gesture's location may be in a wrong display. It will lead to system crash. In this CL, constraint on gesture event's location is added Change-Id: I2c03d369df0b7bed143edb3f04a9c7aad5968d4a Test: ash_unittests Bug: 917060 Reviewed-on: https://chromium-review.googlesource.com/c/1413416 Commit-Queue: Andrew Xu <andrewxu@chromium.org> Reviewed-by:Scott Violet <sky@chromium.org> Cr-Commit-Position: refs/heads/master@{#625716}
Showing
Please register or sign in to comment