VirtualBox

Changeset 38272 in vbox for trunk/src


Ignore:
Timestamp:
Aug 1, 2011 9:02:37 PM (13 years ago)
Author:
vboxsync
Message:

Additions/x11/vboxmouse: some server versions round up pointer values differently to what I would expect

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/VBox/Additions/x11/vboxmouse/vboxmouse_15.c

    r37423 r38272  
    132132                               axis_labels[0],
    133133# endif
    134                                0 /* min X */, 65536 /* max X */,
     134/* The X server does (to my mind) incorrect rounding, hence the strange values.
     135 */
     136                               -32 /* min X */, 65503 /* max X */,
    135137                               10000, 0, 10000
    136138# if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 12
     
    143145                               axis_labels[1],
    144146# endif
    145                                0 /* min Y */, 65536 /* max Y */,
     147/* The X server does (to my mind) incorrect rounding, hence the strange values.
     148 */
     149                               -32 /* min Y */, 65503 /* max Y */,
    146150                               10000, 0, 10000
    147151# if GET_ABI_MAJOR(ABI_XINPUT_VERSION) >= 12
Note: See TracChangeset for help on using the changeset viewer.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette