Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1189)

Issue 1792623003: Changed DeviceDataManagerX11 to use xinput1 for low resolution scroll devices (Closed)

Created:
4 years, 9 months ago by Will Shackleton
Modified:
4 years, 8 months ago
Reviewers:
sadrul
CC:
chromium-reviews, sky, Daniel Erat, Elliot Glaysher, bokan, sadrul
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Changed DeviceDataManagerX11 to use xinput1 for low resolution scroll devices I added functionality to DeviceDataManagerX11 that uses xinput1 for devices that gain no extra precision from using xinput2. This means that for devices that don't ouput two scroll events on focus of a window (which seems to be the case for classic mice driven by evdev) we don't experience a missed scroll event on focus. BUG=593453 Committed: https://crrev.com/b794998819088f76b4cf44c8db6940240c563cf4 Cr-Commit-Position: refs/heads/master@{#389117}

Patch Set 1 #

Patch Set 2 : Moved logic to UpdateScrollClassDevice #

Total comments: 1

Patch Set 3 : Made code more readable #

Total comments: 4

Patch Set 4 : Changed code comment #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -0 lines) Patch
M ui/events/devices/x11/device_data_manager_x11.cc View 1 2 3 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 33 (12 generated)
bokan
This looks fine to me but I'm a non-OWNER here and don't have any XInput ...
4 years, 9 months ago (2016-03-14 17:40:19 UTC) #5
bokan
On 2016/03/14 17:40:19, bokan wrote: > This looks fine to me but I'm a non-OWNER ...
4 years, 9 months ago (2016-03-14 17:40:38 UTC) #6
sky
I'm not familiar with this code. +derat +erg Are either of you familiar with this?
4 years, 9 months ago (2016-03-14 17:50:28 UTC) #8
Daniel Erat
nope, but cc-ing a few more people
4 years, 9 months ago (2016-03-14 18:37:01 UTC) #9
skobes
On 2016/03/14 18:37:01, Daniel Erat (OOO to Mar 29) wrote: > nope, but cc-ing a ...
4 years, 9 months ago (2016-03-21 23:12:08 UTC) #10
Elliot Glaysher
On 2016/03/21 23:12:08, skobes wrote: > On 2016/03/14 18:37:01, Daniel Erat (OOO to Mar 29) ...
4 years, 9 months ago (2016-03-21 23:16:44 UTC) #11
skobes
On 2016/03/21 23:16:44, Elliot Glaysher wrote: > On 2016/03/21 23:12:08, skobes wrote: > > On ...
4 years, 9 months ago (2016-03-21 23:26:27 UTC) #13
kylechar
On 2016/03/21 at 23:26:27, skobes wrote: > On 2016/03/21 23:16:44, Elliot Glaysher wrote: > > ...
4 years, 9 months ago (2016-03-22 14:17:10 UTC) #14
bokan
I think Sadrul is the best reviewer but he's off until Thursday, which is why ...
4 years, 9 months ago (2016-03-22 14:34:50 UTC) #16
dnicoara
I'm not familiar enough with X11 input to review this. +sadrul@ since he'll know better. ...
4 years, 9 months ago (2016-03-22 15:01:34 UTC) #18
Will Shackleton
Having read http://www.x.org/archive/X11R7.7/doc/man/man3/XIQueryDevice.3.xhtml a bit more I think I need an extra check in here---we ...
4 years, 8 months ago (2016-03-30 10:48:12 UTC) #19
Will Shackleton
On 2016/03/30 10:48:12, Will Shackleton wrote: > Having read http://www.x.org/archive/X11R7.7/doc/man/man3/XIQueryDevice.3.xhtml > a bit more I ...
4 years, 8 months ago (2016-04-17 11:19:54 UTC) #21
sadrul
https://codereview.chromium.org/1792623003/diff/20001/ui/events/devices/x11/device_data_manager_x11.cc File ui/events/devices/x11/device_data_manager_x11.cc (right): https://codereview.chromium.org/1792623003/diff/20001/ui/events/devices/x11/device_data_manager_x11.cc#newcode782 ui/events/devices/x11/device_data_manager_x11.cc:782: } Add a comment here. The code could be ...
4 years, 8 months ago (2016-04-19 14:40:50 UTC) #22
Will Shackleton
On 2016/04/19 14:40:50, sadrul wrote: > https://codereview.chromium.org/1792623003/diff/20001/ui/events/devices/x11/device_data_manager_x11.cc > File ui/events/devices/x11/device_data_manager_x11.cc (right): > > https://codereview.chromium.org/1792623003/diff/20001/ui/events/devices/x11/device_data_manager_x11.cc#newcode782 > ...
4 years, 8 months ago (2016-04-19 14:46:43 UTC) #23
Will Shackleton
On 2016/04/19 14:46:43, Will Shackleton wrote: > On 2016/04/19 14:40:50, sadrul wrote: > > > ...
4 years, 8 months ago (2016-04-19 19:02:37 UTC) #24
sadrul
https://codereview.chromium.org/1792623003/diff/40001/ui/events/devices/x11/device_data_manager_x11.cc File ui/events/devices/x11/device_data_manager_x11.cc (right): https://codereview.chromium.org/1792623003/diff/40001/ui/events/devices/x11/device_data_manager_x11.cc#newcode778 ui/events/devices/x11/device_data_manager_x11.cc:778: // then use that. s/then use that/then use the ...
4 years, 8 months ago (2016-04-22 02:42:23 UTC) #25
Will Shackleton
https://codereview.chromium.org/1792623003/diff/40001/ui/events/devices/x11/device_data_manager_x11.cc File ui/events/devices/x11/device_data_manager_x11.cc (right): https://codereview.chromium.org/1792623003/diff/40001/ui/events/devices/x11/device_data_manager_x11.cc#newcode778 ui/events/devices/x11/device_data_manager_x11.cc:778: // then use that. On 2016/04/22 02:42:23, sadrul wrote: ...
4 years, 8 months ago (2016-04-22 14:56:55 UTC) #26
sadrul
lgtm
4 years, 8 months ago (2016-04-22 14:58:12 UTC) #27
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1792623003/60001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1792623003/60001
4 years, 8 months ago (2016-04-22 15:01:28 UTC) #29
commit-bot: I haz the power
Committed patchset #4 (id:60001)
4 years, 8 months ago (2016-04-22 15:45:01 UTC) #31
commit-bot: I haz the power
4 years, 8 months ago (2016-04-22 19:47:51 UTC) #33
Message was sent while issue was closed.
Patchset 4 (id:??) landed as
https://crrev.com/b794998819088f76b4cf44c8db6940240c563cf4
Cr-Commit-Position: refs/heads/master@{#389117}

Powered by Google App Engine
This is Rietveld 408576698