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
..
.gitignore
busfault.h
callback.h
Avoid starting a comment with */*
2014-07-17 10:19:52 -07:00
client.h
closestr.h
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
closure.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
colormap.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
colormapst.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
cursor.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
cursorstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
dbus-core.h
xfree86: drop double-typedef of DBusConnection
2014-11-12 10:25:00 +10:00
dix-config-apple-verbatim.h
dix-config.h.in
Add AC_SYS_LARGEFILE defines to dix-config.h
2015-05-12 08:02:11 -07:00
dix.h
Missing parens in REQUEST_FIXED_SIZE macro [CVE-2014-8092 pt. 5]
2014-12-09 11:28:07 -08:00
dixaccess.h
dixevents.h
dixfont.h
Avoid starting a comment with */*
2014-07-17 10:19:52 -07:00
dixfontstr.h
dixfontstubs.h
include: GetClientResolutions is declared in font.h
2014-01-22 19:56:31 -08:00
dixgrabs.h
Avoid starting a comment with */*
2014-07-17 10:19:52 -07:00
dixstruct.h
dix: Praise clients which haven't run for a while, rather than idle clients
2014-01-23 10:10:28 -08:00
eventconvert.h
events.h
eventstr.h
Delete stray ; in struct _DeviceChangedEvent
2014-02-09 17:21:20 -08:00
exevents.h
extension.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
extinit.h
Make PseudoramiXExtensionInit() prototype more generally available
2015-03-16 16:56:17 +00:00
extnsionst.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
gc.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
gcstruct.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
globals.h
Clean up warnings in DIX
2014-01-12 10:14:49 -08:00
glx_extinit.h
hotplug.h
config: Replace OdevAttributes linked list with struct
2014-07-17 17:10:48 -07:00
input.h
dix: Add unaccelerated valuators to the ValuatorMask
2015-05-20 12:44:58 +10:00
inputstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
inpututils.h
dix: Add unaccelerated valuators to the ValuatorMask
2015-05-20 12:44:58 +10:00
kdrive-config.h.in
list.h
include: fix documentation for list.h
2014-11-12 10:24:55 +10:00
Makefile.am
Make PseudoramiXExtensionInit() prototype more generally available
2015-03-16 16:56:17 +00:00
misc.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
miscstruct.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
nonsdk_extinit.h
Make PseudoramiXExtensionInit() prototype more generally available
2015-03-16 16:56:17 +00:00
opaque.h
Add a command line argument for disabling indirect GLX.
2014-04-23 13:24:22 -07:00
optionstr.h
os.h
Add no-fail equivalents of allocarray & reallocarray
2015-04-21 16:57:08 -07:00
pixmap.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
pixmapstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
privates.h
Replace 'pointer' type with 'void *'
2014-01-12 10:24:11 -08:00
probes.h
Get rid of const warnings in XSERVER_INPUT_EVENT dtrace probe calls
2015-02-10 18:14:44 -08:00
property.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
propertyst.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
protocol-versions.h
randr: Add Monitor support (v1.1)
2015-03-31 12:32:04 +10:00
ptrveloc.h
region.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
regionstr.h
dix: make RegionInit legal C++
2015-01-23 10:35:49 -08:00
registry.h
XSERVER_DTRACE needs request names from registry too
2014-09-22 12:00:46 -07:00
resource.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
rgb.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
screenint.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
scrnintstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
selection.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
servermd.h
dix: Fix image byte order on big endian hardware
2015-05-07 14:03:50 -04:00
site.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
swaprep.h
swapreq.h
systemd-logind.h
systemd-logind: let the logind code decided whether to close an fd
2014-05-05 07:26:33 +10:00
validate.h
version-config.h.in
window.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
windowstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
XIstubs.h
xkb-config.h.in
xkbfile.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xkbrules.h
xkb: add a call to init an XkbRMLVOSet from const chars
2014-02-04 10:53:59 +10:00
xkbsrv.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xkbstr.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xorg-config.h.in
xfree86: Remove the memory of MTRR awareness
2014-09-16 11:58:53 -04:00
xorg-server.h.in
Import reallocarray() from OpenBSD
2015-04-21 16:57:08 -07:00
Xprintf.h
xserver-properties.h
xsha1.h
Drop trailing whitespaces
2014-11-12 10:25:00 +10:00
xwin-config.h.in
configure: Restore DEFAULT_LOGDIR to xwin-config.h, it is used
2014-06-02 13:07:46 +01:00