Ozone/DRM: Fix cursor remote being rebound on every cursor move
This CL fixes two issues: - |evdev_bound_| is never set, so we keep rebinding |evdev_cursor_| on every cursor move. - |evdev_cursor_| was initially bound on the UI thread so calling Unbind() on the evdev thread for the first time triggers a DCHECK. Instead keep the pending remote unbound until it's time to bind it on the evdev thread. Bug: 620927,1039834 Change-Id: Iea19d5e32b0cbc9396f7b5e178e8e4ab6001f8c4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1997646 Commit-Queue: Saman Sami <samans@chromium.org> Reviewed-by:Michael Spang <spang@chromium.org> Auto-Submit: Saman Sami <samans@chromium.org> Cr-Commit-Position: refs/heads/master@{#731618}
Showing
Please register or sign in to comment