Find a file
Peter Hutterer 29a0c87f4d dix: when shutting down slave devices, shut down xtest devices last
XTest devices are the first ones in the list, being initialised together
with the master devices. If we disable the devices in-order and a device has
a button down when being disabled, the XTest device is checked for a
required button release (xkbAccessX.c's ProcessPointerEvent). This fails if
the device is already NULL.

Instead of putting the check there, disable the devices in the reverse order
they are initialised. Disable physical slaves first, then xtest devices,
then the master devices.

Testcase: shut down server with a button still held down on a physical
device

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
(cherry picked from commit 3e4be4033a)
2013-02-18 12:13:49 +10:00
composite Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
config config/udev: ignore change on drm devices 2012-11-02 10:17:40 +10:00
damageext Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dbe Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
dix dix: when shutting down slave devices, shut down xtest devices last 2013-02-18 12:13:49 +10:00
doc Add screen-specific privates. 2012-07-05 13:39:50 -07:00
exa EXA: Track source/mask pixmaps more explicitly for Composite fallback regions. 2012-11-07 23:34:10 -07:00
fb fb: reorder Bresenham error correction to avoid overshoot. 2012-08-14 12:14:25 -07:00
glx glx/dri2: initialise api to avoid indirect rendering failing randomly 2013-01-03 23:03:42 -07:00
hw dmx: don't include dmx-config.h from xdmxconfig (#37502) 2013-02-18 12:09:23 +10:00
include randr: bump advertised RandR version to 1.4 2013-02-15 23:21:11 -07:00
m4 XORG_TLS: Pick the first option that works (ie: prefer __thread) 2013-02-15 23:32:08 -07:00
man Correct description of -displayfd option in man page. 2012-10-16 15:14:53 +01:00
mi mi: Ensure pointer emulating touch events update the sprite 2013-01-21 13:53:00 +10:00
miext cw: Remove 2012-07-25 14:02:44 -07:00
os os: Ensure <dix-config.h> is included in strndup.c 2013-02-15 23:31:47 -07:00
randr randr: bump advertised RandR version to 1.4 2013-02-15 23:21:11 -07:00
record Move extension initialisation prototypes into extinit.h 2012-07-09 23:06:41 -07:00
render render: Unwrap early on the animated cursor BlockHandler 2013-01-21 13:53:02 +10:00
test Merge remote-tracking branch 'jeremyhu/master' 2012-09-05 11:02:58 -07:00
Xext When resetting device idle time, reset XIAll(Master)Devices too (#56649) 2012-12-05 17:36:02 +10:00
xfixes xfixes: Fix minor number in QueryVersion 2013-02-18 12:07:25 +10:00
Xi dix: add resource type to touch listeners 2013-01-21 13:52:46 +10:00
xkb xkb: only post a XTest release if the XTest device has the button down 2013-02-18 11:20:34 +10:00
.gitignore doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac Update release to 1.13.3-rc1 2013-02-16 00:08:59 -07:00
COPYING Loader: Remove extension initialisation sorting 2012-07-10 00:31:02 -07:00
devbook.am devbook.am: maintenance update from docbook.am 2011-09-21 14:07:52 -07: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 Add 'install-headers' target in the top-level Makefile 2012-07-09 16:29:04 -07:00
manpages.am Xdmx.man: Show actual configured XKB defaults instead of old hardcoded values 2011-06-21 17:54:14 -07:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
xorg-server.m4 macros: use PKG_CONFIG variable rather than executable name 2010-01-07 12:57:23 -08: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