XLibre Xserver
Go to file
Peter Hutterer 48f7298657 Xi: reset the sli pointers after copying device classes. (#25640)
If the indicator flags have the XkbSLI_IsDefault bit set, the indicator map
and names aren't their own bit of memory but rather point into the
device->key->xkbInfo->desc structure. XkbCopySrvLedInfo knows about this and
leaves the pointers alone.

When copying the classes from the slave to the master, these pointers are
copied and still point to the dev->key class of the slave device. If the
slave device is removed, the memory becomes invalid and a call to modify
this data (e.g. XkbSetIndicators) may cause a deadlock.

The copying of dev->key relies on dev->kbdfeed to be already set up. Hence
the pointers need to be reset once _both_ kbdfeed and key have been copied
into the master device.

X.Org Bug 25640 <http://bugs.freedesktop.org/show_bug.cgi?id=25640>
Fedora Bug 540584 <https://bugzilla.redhat.com/show_bug.cgi?id=540584>

Signed-off-by: Peter Hutterer <peter.hutterer@who-t.net>
Reviewed-by: Keith Packard <keithp@keithp.com>
2010-02-15 15:27:41 +10:00
Xext Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
Xi Xi: reset the sli pointers after copying device classes. (#25640) 2010-02-15 15:27:41 +10:00
composite Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
config Add tag matching to input attributes. 2010-02-11 19:25:49 +10:00
damageext Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dbe Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
dix dix: move config_init into the DDX. 2010-02-15 09:15:18 +10:00
doc doc: finish the removal of SecurityPolicy file man pages 2010-01-27 14:17:17 -08:00
exa EXA: Restore migration call in exaDoPutImage(). 2010-01-04 08:28:12 -08:00
fb Fix source pictures getting random transforms after 2d6a8f668342a5190cdf43b5. 2010-01-27 14:03:03 -08:00
glx Merge remote branch 'alanc/master' 2010-01-27 14:14:15 -08:00
hw dix: move config_init into the DDX. 2010-02-15 09:15:18 +10:00
include dix: move config_init into the DDX. 2010-02-15 09:15:18 +10:00
m4 dolt: add Cygwin to supported platforms 2009-10-13 20:30:22 -07:00
mi Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
miext Miscellaneous compilation warning fixes 2009-12-08 15:50:28 -08:00
os Merge remote branch 'jturney/master' 2010-02-12 13:36:32 -08:00
randr Don't double-swap the RandR PropertyNotify event 2010-02-12 14:55:19 -08:00
record Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
render RENDER: Fix gradient and solid fill pictures with Xinerama, and misc cleanup 2010-01-29 21:38:50 -08:00
test dix: EventToCore needs to copy the root window too. 2010-01-27 14:38:16 -08:00
xfixes Add type name argument to CreateNewResourceType 2009-12-18 17:44:12 -08:00
xkb xkb: sed True -> TRUE and False -> FALSE 2010-02-02 10:03:30 +10:00
.gitignore .gitignore: use common defaults with custom section #24239 2009-11-11 21:40:20 -08:00
COPYING Update Sun license notices to current X.Org standard form 2009-12-16 17:11:35 -08:00
Makefile.am INSTALL, NEWS, README or AUTHORS files are missing/incorrect #24206 2009-11-11 21:44:24 -08: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 Bump to 1.7.99.901 -- 1.8 RC1 2010-02-12 13:46:27 -08:00
cpprules.in man: add missing __datadir__ for Xserver XWin man pages 2010-01-27 14:16:25 -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 Since font modules are dead, don't mention them in xorg-server.pc 2009-07-09 17:21:07 -04: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