commit | 6c3b009c32b14f0d84ddb19f49b5aba3399d0845 | [log] [tgz] |
---|---|---|
author | Maksim Sisov <msisov@igalia.com> | Fri May 18 06:11:40 2018 |
committer | Commit Bot <commit-bot@chromium.org> | Fri May 18 06:11:40 2018 |
tree | c8a5aedb5db5a00b49c5c9460ee772f7948d3c49 | |
parent | 3ae0e03b84c9bb0e143407387c3668600964851e [diff] |
[ozone/wayland] Reset implicit grab only after an event has been sent. Reset implicit grab only after the event has been sent. Otherwise, we may end up in a situation, when a target checks for a pointer grab on the MouseRelease event type, and fails to release mouse pressed handlers and reset capture with a capture controller. TEST=./out/OzoneLinux/ozone_unittests --gtest_filter= XdgVersionV5Test/WaylandPointerTest.ButtonPressAndCheckCapture/0 XdgVersionV5Test/WaylandPointerTest.ButtonReleaseAndCheckCapture/0 XdgVersionV6Test/WaylandPointerTest.ButtonPressAndCheckCapture/0 (1 ms) XdgVersionV6Test/WaylandPointerTest.ButtonReleaseAndCheckCapture/0 Bug: 578890 Change-Id: Ia8810e5bac46bc49b356e7f79d3bba875dc72416 Reviewed-on: https://chromium-review.googlesource.com/1051787 Reviewed-by: Scott Violet <sky@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#559815}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .