XLibre Xserver
Go to file
Peter Hutterer 4c68f5d395 dix: disable all devices before shutdown
f3410b97cf introduced a regression on server
shutdown. If any button or key was held on shutdown (ctrl, alt, backspace
are usually still down) sending a raw event will segfault the server. The
the root windows are set to NULL before calling CloseDownDevices().

Avoid this by disabling all devices first when shutting down. Disabled
devices won't send events anymore.

Master keyboards must be disabled first, otherwise disabling the pointer
will trigger DisableDevice(keyboard) and the keyboard is removed from the
inputInfo.devices list and moved to inputInfo.off_devices. A regular loop
through inputInfo.devices would thus jump to off_devices and not recover.

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Acked-by: Chase Douglas <chase.douglas@canonical.com>
Reviewed-by: Chase Douglas <chase.douglas@canonical.com>
2012-06-07 14:13:51 +10:00
Xext Xext: include dix-config.h 2012-05-24 15:52:38 +10:00
Xi Xi: drop forced unpairing when changing the hierarchy 2012-06-07 14:13:49 +10:00
composite Export CompositeClientWindowType 2012-04-19 15:34:32 -05:00
config config/udev: add pre_init stage to config and udev. 2012-05-21 12:58:32 +01:00
damageext Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
dbe Indentation: Change '& stuff' to '&stuff' 2012-03-21 14:02:30 -07:00
dix dix: disable all devices before shutdown 2012-06-07 14:13:51 +10:00
doc dix: add dtrace probes to input API 2012-03-22 11:33:42 +10:00
exa render/exa: use glyph picture accessors 2012-05-21 12:59:20 +01:00
fb Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
glx xf86: migrate to using xf86ScreenToScrn wrapper (v2) 2012-05-21 12:59:08 +01:00
hw Xvfb: destroy the screen pixmap in CloseScreen 2012-05-24 14:57:21 +10:00
include dix: disable all devices before shutdown 2012-06-07 14:13:51 +10:00
m4 Use XORG_STRICT_OPTION from util-macros 1.14 to set -Werror flags 2011-05-27 19:51:05 -07:00
man os: Add -displayfd option 2012-05-01 11:36:30 +10:00
mi mi: Remove redundant declarations. 2012-05-14 13:17:01 +01:00
miext miext: Remove redundant declaration. 2012-05-14 13:17:04 +01:00
os Merge remote-tracking branch 'whot/for-keith' 2012-05-09 21:17:16 -07:00
randr randr: Remove redundant declaration. 2012-05-14 13:16:54 +01:00
record Introduce a consistent coding style 2012-03-21 13:54:42 -07:00
render render/exa: use glyph picture accessors 2012-05-21 12:59:20 +01:00
test test/touch: Initialize device name 2012-06-05 16:04:07 +10:00
xfixes xfixes: remove redundant declaration. 2012-05-14 13:16:46 +01:00
xkb xkb: warn if XKB SlowKeys have been automatically enabled 2012-06-07 07:23:56 +10:00
.gitignore doc: relocate xserver.ent in the package root directory 2011-05-14 11:22:26 -07:00
COPYING Add asprintf() implementation for platforms without it 2010-12-07 11:10:35 -08:00
Makefile.am man: relocate manual pages in the man subdir outside doc 2011-05-13 14:08:17 -07:00
README packaging: provide a default README file #24206 2010-01-27 14:00:17 -08:00
autogen.sh autogen.sh: Pass --force to autoreconf 2008-07-22 16:55:26 +03:00
configure.ac os: Add CryptoAPI as a choice of SHA1 implementation 2012-05-04 13:13:50 -05: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
manpages.am Xdmx.man: Show actual configured XKB defaults instead of old hardcoded values 2011-06-21 17:54:14 -07: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