~ubuntu-branches/ubuntu/precise/virtualbox/precise-updates

« back to all changes in this revision

Viewing changes to src/VBox/Additions/x11/vboxmouse/vboxmouse_15.c

  • Committer: Bazaar Package Importer
  • Author(s): Felix Geyer
  • Date: 2011-10-17 23:23:09 UTC
  • mfrom: (3.1.5 sid)
  • Revision ID: james.westby@ubuntu.com-20111017232309-kzm6841lzk61ranj
Tags: 4.1.4-dfsg-1
* New upstream release.
  - Fixes missing icons when using pt_BR locale. (Closes: #507188)
  - Fixes guest additions download url. (Closes: #637349; LP: #840668)
* Refresh patches.
* Drop the vboxmouse x11 driver. The mouse integration is now completely
  handled by the kernel module.
* Restrict dh_pycentral to the virtualbox binary package.
* Merge changes from the Ubuntu package but use them only when built
  on Ubuntu:
  - Add an Apport hook.
  - Add vboxguest modalias to the package control field.
* Pass KBUILD_VERBOSE=2 to kmk.
* Add 36-fix-text-mode.patch to fix text mode when using the vboxvideo driver.

Show diffs side-by-side

added added

removed removed

Lines of Context:
60
60
 
61
61
enum
62
62
{
63
 
#if ABI_XINPUT_VERSION > SET_ABI_VERSION(2, 0)
64
 
/* The X server does (to my mind) incorrect rounding, so we adjust our range to
65
 
 * compensate. */
66
 
    ADJUST_RANGE = 32,
67
 
#else
68
 
    ADJUST_RANGE = 0,
69
 
#endif
70
63
    /** The minumum value our device can return */
71
 
    RANGE_MIN = ADJUST_RANGE,
 
64
    RANGE_MIN = 0,
72
65
    /** The maximum value our device can return */
73
 
    RANGE_MAX = 0xFFFF + ADJUST_RANGE
 
66
    RANGE_MAX = 0xFFFF
74
67
};
75
68
 
76
69
static void