[XProto] Fix regression in scroll handling
This fixes a regression after [1] in which I erroneously changed != to == in 2 places. This was causing a bug in setups that have high-resolution scrolling where the scroll distance would not get reset when switching to another app, scrolling, then switching back to Chrome. [1] https://chromium-review.googlesource.com/c/chromium/src/+/2316436 R=nickdiego Bug: 1113903 Change-Id: I4a0adce22687ccc4a79986bf5d4d5bd8f71c66dc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2346952 Commit-Queue: Thomas Anderson <thomasanderson@chromium.org> Commit-Queue: Nick Yamane <nickdiego@igalia.com> Auto-Submit: Thomas Anderson <thomasanderson@chromium.org> Reviewed-by:Nick Yamane <nickdiego@igalia.com> Cr-Commit-Position: refs/heads/master@{#796533}
Showing
Please register or sign in to comment