Go to file
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
composite Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
config config: remove 10-evdev.conf, let the evdev driver install that file 2015-05-18 13:41:09 +10:00
damageext Replace 'pointer' type with 'void *' 2014-01-12 10:24:11 -08:00
dbe Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
dix dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
doc Remove remaining doc references to Xalloc, Xrealloc, and Xfree 2015-04-21 16:57:07 -07:00
dri3 dri3: unvalidated lengths in DRI3 extension swapped procs [CVE-2014-8103 1/2] 2014-12-08 18:09:48 -08:00
exa Convert exa & fb to new *allocarray functions 2015-04-21 16:58:07 -07:00
fb Convert exa & fb to new *allocarray functions 2015-04-21 16:58:07 -07:00
glamor glamor: Replace CompositeGlyphs code [v2] 2015-05-14 16:32:07 -07:00
glx Revert "glx/dri2: Disable AIGLX if indirect GLX is disabled" 2015-05-14 21:29:40 -07:00
hw dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
include dix: Add unaccelerated valuators to the ValuatorMask 2015-05-20 12:44:58 +10:00
m4 configure.ac: remove remaining TLS references 2015-03-24 17:20:26 +00:00
man Add -iglx & +iglx to Xserver.man 2014-11-30 11:32:21 -08:00
mi Convert mi & miext to new *allocarray functions 2015-04-21 16:58:08 -07:00
miext Convert mi & miext to new *allocarray functions 2015-04-21 16:58:08 -07:00
os Merge remote-tracking branch 'jturney/mingw-build-fixes' 2015-05-11 15:36:53 -07:00
present present: If present_queue_vblank() fails, do present_execute(). 2014-12-25 13:39:04 -08:00
pseudoramiX Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
randr Merge remote-tracking branch 'evelikov/master' 2015-05-11 16:50:43 -07:00
record Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
render Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
test Add REQUEST_FIXED_SIZE testcases to test/misc.c 2014-12-08 18:09:49 -08:00
Xext Merge remote-tracking branch 'ajax/xserver-next' 2015-05-11 16:34:48 -07:00
xfixes Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
Xi Convert top level extensions to new *allocarray functions 2015-04-21 16:57:08 -07:00
xkb Convert XKB to new *allocarray functions 2015-04-21 16:57:54 -07:00
.dir-locals.el Add .dir-locals.el 2013-08-17 12:17:36 +02:00
.gitignore .gitignore: Add new autotools file 'test-driver' 2014-04-21 13:41:42 -07:00
autogen.sh autogen.sh: use quoted string variables 2015-03-13 12:31:21 +10:00
configure.ac Xephyr: Don't crash when no command line argument is specified 2015-05-12 09:49:49 -07:00
COPYING modesetting: Merge modesetting's COPYING into the xserver's. 2014-09-15 12:46:02 -07:00
devbook.am doc: Create a script to filter xmlto output 2015-01-05 14:24:06 -08:00
docbook.am docbook.am: embed css styles inside the HTML HEAD element 2011-09-21 14:07:49 -07:00
fix-miregion Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-miregion-private Change region implementation names to eliminate the 'mi' prefix 2010-06-05 17:47:32 -07:00
fix-patch-whitespace Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
fix-region Rename region macros to eliminate screen argument 2010-06-05 18:59:00 -07:00
Makefile.am DIST_SUBDIRS needs to include glamor, even if it isn't built 2014-02-13 15:25:56 -08:00
manpages.am Xorg: Add a suid root wrapper 2014-03-12 08:50:05 +01:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: clarify documentation 2012-11-05 13:24:57 -06:00
xorg-server.pc.in xfree86: link modules against Xorg symbols on Cygwin 2012-04-05 21:57:07 -05:00
xserver.ent.in doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00

					X Server

The X server accepts requests from client applications to create windows,
which are (normally rectangular) "virtual screens" that the client program
can draw into.

Windows are then composed on the actual screen by the X server
(or by a separate composite manager) as directed by the window manager,
which usually communicates with the user via graphical controls such as buttons
and draggable titlebars and borders.

For a comprehensive overview of X Server and X Window System, consult the
following article:
http://en.wikipedia.org/wiki/X_server

All questions regarding this software should be directed at the
Xorg mailing list:

        http://lists.freedesktop.org/mailman/listinfo/xorg

Please submit bug reports to the Xorg bugzilla:

        https://bugs.freedesktop.org/enter_bug.cgi?product=xorg

The master development code repository can be found at:

        git://anongit.freedesktop.org/git/xorg/xserver

        http://cgit.freedesktop.org/xorg/xserver

For patch submission instructions, see:

	http://www.x.org/wiki/Development/Documentation/SubmittingPatches

For more information on the git code manager, see:

        http://wiki.x.org/wiki/GitPage