xserver-multidpi/hw
Peter Hutterer 4c2f2cb4c8 dix: Add unaccelerated valuators to the ValuatorMask
Allows a mask to carry both accelerated and unaccelerated motion at the same
time.

This is required for xf86-input-libinput where the pointer acceleration
happens in libinput already, but parts of the server, specifically raw events
and DGA rely on device-specific unaccelerated data.

To ease integration add this as a second set to the ValuatorMask rather than
extending all APIs to carry a second, possibly NULL set of valuators.

Note that a valuator mask should only be used in either accel/unaccel or
standard mode at any time. Switching requires either a valuator_mask_zero()
call or unsetting all valuators one-by-one. Trying to mix the two will produce
a warning.

The server has a shortcut for changing a mask with the
valuator_mask_drop_unaccelerated() call. This saves us from having to loop
through all valuators on every event, we can just drop the bits we know we
don't want.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
2015-05-20 12:44:58 +10:00
..
dmx Convert hw/dmx to new *allocarray functions 2015-04-21 16:58:08 -07:00
kdrive Xephyr: Fix broken image when endianess of client machine and host-Xserver differ 2015-05-12 09:53:25 -07:00
vfb Convert hw/xnest & hw/vfb to new *allocarray functions 2015-04-21 16:58:08 -07:00
xfree86 dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
xnest Merge remote-tracking branch 'jturney/mingw-build-fixes' 2015-05-11 15:36:53 -07:00
xquartz Fix XQuartz build 2015-03-31 09:02:28 -07:00
xwayland xwayland: Fix error strings 2015-05-11 15:54:00 -07:00
xwin hw/xwin/winclipboard: Link xwinclip with -lpthread 2015-04-22 12:55:25 +01:00
Makefile.am Xwayland DDX 2014-04-03 15:19:22 -07:00