After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 689258 - xi2: Reset the correct scroll axes on DeviceChanged
xi2: Reset the correct scroll axes on DeviceChanged
Status: RESOLVED FIXED
Product: clutter
Classification: Platform
Component: general
unspecified
Other All
: Normal normal
: ---
Assigned To: clutter-maint
clutter-maint
Depends on:
Blocks:
 
 
Reported: 2012-11-29 09:01 UTC by Jasper St. Pierre (not reading bugmail)
Modified: 2012-11-29 21:51 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
xi2: Reset the correct scroll axes on DeviceChanged (1.78 KB, patch)
2012-11-29 09:01 UTC, Jasper St. Pierre (not reading bugmail)
committed Details | Review

Description Jasper St. Pierre (not reading bugmail) 2012-11-29 09:01:34 UTC
See patch for rationale.
Comment 1 Jasper St. Pierre (not reading bugmail) 2012-11-29 09:01:44 UTC
Created attachment 230160 [details] [review]
xi2: Reset the correct scroll axes on DeviceChanged

Otherwise, we'll have incorrect scrolling when we switch hardware
devices without switching virtual devices. For example, on a ThinkPad,
scroll using the touchpad, move the eraser mouse, and then scroll again:
the deltas will be wrong. This also matches what GTK+ does.
Comment 2 Emmanuele Bassi (:ebassi) 2012-11-29 09:12:01 UTC
Review of attachment 230160 [details] [review]:

looks good.
Comment 3 Jasper St. Pierre (not reading bugmail) 2012-11-29 21:51:27 UTC
no# Bug 689258 - xi2: Reset the correct scroll axes on DeviceChanged - UNCONFIRMED

Attachment 230160 [details] pushed as 9614dff - xi2: Reset the correct scroll axes on DeviceChanged