[PointerCapture] Add pointer capture support to exo
This CL creates the creates the relative pointer manager that uses the wayland extension relative-pointer-unstable-v1. It also adds and implements the RelativePointerDelegate, which the is used to send relative motion events through the OnPointerRelativeMotion method. Whenever pointer capture is requested, we hide the pointer and send relative movements though the RelativePointerDelegate. If a RelativePointerDelegate is created, we assume that pointer capture is enabled, and when it is destroyed, we assume pointer capture is disabled. Bug: 121287287 Change-Id: Ie7f662afcc15cb2e538cd22ad56409798d1757c1 Reviewed-on: https://chromium-review.googlesource.com/c/1388298 Commit-Queue: Prabir Pradhan <prabirmsp@chromium.org> Auto-Submit: Prabir Pradhan <prabirmsp@chromium.org> Reviewed-by:Mitsuru Oshima <oshima@chromium.org> Cr-Commit-Position: refs/heads/master@{#634537}
Showing
This diff is collapsed.
Please register or sign in to comment