Merge lp://staging/~laney/unity-control-center/lp1132063 into lp://staging/unity-control-center
Status: | Work in progress | ||||
---|---|---|---|---|---|
Proposed branch: | lp://staging/~laney/unity-control-center/lp1132063 | ||||
Merge into: | lp://staging/unity-control-center | ||||
Diff against target: |
94 lines (+44/-3) 1 file modified
panels/mouse/gsd-input-helper.c (+44/-3) |
||||
To merge this branch: | bzr merge lp://staging/~laney/unity-control-center/lp1132063 | ||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Sebastien Bacher | Needs Information | ||
PS Jenkins bot (community) | continuous-integration | Approve | |
Review via email: mp+237636@code.staging.launchpad.net |
Commit message
Use XI2 to detect mice, in addition to the current XI method.
Description of the change
See the linked bug, there's problems detecting mice which means that the settings are sometimes hidden when they shouldn't be.
Unmerged revisions
- 12792. By Iain Lane
-
mouse: Use XI2 to detect mice, in addition to the existing method
Sometimes, `xinput' reports output like the following
⎡ Virtual core pointer id=2 [master pointer (3)]
⎜ ↳ Virtual core XTEST pointer id=4 [slave pointer (2)]
⎜ ↳ Logitech USB Receiver id=9 [slave pointer (2)]
⎣ Virtual core keyboard id=3 [master keyboard (2)]
↳ Virtual core XTEST keyboard id=5 [slave keyboard (3)]
↳ Power Button id=6 [slave keyboard (3)]
↳ Power Button id=7 [slave keyboard (3)]
↳ Logitech USB Receiver id=8 [slave keyboard (3)]and g-c-c doesn't detect a mouse, which hides the settings.
We try to check for an XI2 XIMasterPointer device without an XITouchClass class
as a way of detcting mice-but-not-touchpads.
PASSED: Continuous integration, rev:12792 jenkins. qa.ubuntu. com/job/ unity-control- center- ci/114/ jenkins. qa.ubuntu. com/job/ unity-control- center- utopic- amd64-ci/ 16 jenkins. qa.ubuntu. com/job/ unity-control- center- utopic- armhf-ci/ 16 jenkins. qa.ubuntu. com/job/ unity-control- center- utopic- i386-ci/ 16
http://
Executed test runs:
SUCCESS: http://
SUCCESS: http://
SUCCESS: http://
Click here to trigger a rebuild: s-jenkins. ubuntu- ci:8080/ job/unity- control- center- ci/114/ rebuild
http://