[ozone/x11] Implement HasCapture method
When user clicks on a non client area, the content area stops receiving events because base implementation of the HasCapture method always returns false. This confuses the capture client, and capture is never reset. Thus, to fix the problem, implement the method on the X11WindowOzone level and provide up-to-date information whether the window has explicit capture or not. Bug: 789065 Change-Id: I4445f4cceb7c801f0ab0cfe4df005e977ba36569 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1657829Reviewed-by:kylechar <kylechar@chromium.org> Commit-Queue: Maksim Sisov <msisov@igalia.com> Cr-Commit-Position: refs/heads/master@{#669142}
Showing
Please register or sign in to comment