ozone/wayland: tabdrag: Ignore wl_pointer events until session finishes
A regression was introduced with initial extended-drag integration in Ozone/Wayland, which causes some misbehaviours described in more details at https://crbug.com/1148021. This CL addresses the issue the following issue: wl_pointer events may come in while the drag session is still running, which is particularly troublesome when it happens just after the drop event, making the event to be dispatched to the wrong window, e.g: the latest one for which an wl_data_device::enter was received. Further details can be found in the above mentioned link. To make window drag controller more resistant to such cases, this modifies it such that it ignores wl_pointer events until the session is finished. Bug: 1148021 Change-Id: I559ec271dd2d5bfd5609a8f89528ddda760fe321 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2533693 Commit-Queue: Nick Yamane <nickdiego@igalia.com> Reviewed-by:Antonio Gomes <tonikitoo@igalia.com> Cr-Commit-Position: refs/heads/master@{#826997}
Showing
Please register or sign in to comment