xserver-multidpi/xkb
Peter Hutterer 5a3d06b8f4 xkb: delete default rules when devices are closed.
We only have one set of default rules options in xkb. When the second keyboard
is brought up with Xkb options specified, these new options overwrite the old.
In future server generations, the rules used for the VCK are a mixture of the
default ones and ones previously specified for other keyboards. Simply
resetting the xkb default rules to NULL avoids this issue.

Reproducable by setting XkbLayout "de" and XkbVariant "nodeadkeys". In the
second server generation, the VCK has "us(nodeadkeys)". This again produces a
SIGABRT when the first key is hit.

I could not figure out why the SIGABRT happens. This patch is avoiding the
issue rather than fixing it.
2008-06-02 10:27:05 +09:30
..
ddxBeep.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
ddxCtrls.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
ddxDevBtn.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ddxFakeBtn.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ddxFakeMtn.c Merge branch 'master' into mpx 2008-01-03 17:04:54 +10:30
ddxInit.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
ddxKeyClick.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
ddxKillSrv.c XKB: Actions: Don't run certain actions on the core keyboard 2007-12-05 19:37:48 +00:00
ddxLEDs.c Death to RCS tags. 2007-06-29 14:06:52 -04:00
ddxList.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
ddxLoad.c Merge branch 'master' into mpx 2008-05-20 10:20:14 +09:30
ddxPrivate.c Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
ddxVT.c Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
Makefile.am Fix distcheck. 2008-03-05 23:57:15 -05:00
maprules.c XKB: Remove support for pre-built keymaps 2008-02-17 22:52:07 +02:00
README.compiled R6.6 is the Xorg base-line 2003-11-14 15:54:54 +00:00
xkb.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
xkb.h XKB: Move headers into the server tree 2008-02-17 22:52:07 +02:00
xkbAccessX.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
xkbActions.c Merge branch 'master' into mpx 2008-04-22 18:04:05 +09:30
XKBAlloc.c XKB: Move headers into the server tree 2008-02-17 22:52:07 +02:00
xkbDflts.h Static markup and dead code cull over xkb/. 2007-03-20 18:37:02 -04:00
xkbEvents.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
xkbfmisc.c XKB: Fix initial map setting on startup 2008-03-04 03:50:25 +02:00
XKBGAlloc.c XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbgeom.h XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbInit.c xkb: delete default rules when devices are closed. 2008-06-02 10:27:05 +09:30
xkbLEDs.c xkb: fix crash caused by uninitialised variable. 2008-05-22 16:00:21 +09:30
XKBMAlloc.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
XKBMisc.c XKB: Remove a bunch of mad ifdefs 2008-02-17 22:52:07 +02:00
xkbout.c XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02:00
xkbPrKeyEv.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
xkbPrOtherEv.c XkbProcessOtherEvent: Don't depend on now-removed header 2008-02-17 22:52:08 +02:00
xkbSwap.c Merge branch 'master' into mpx 2008-03-04 18:11:10 +10:30
xkbtext.c XKB: Remove usage of client-side types 2008-02-17 22:52:07 +02:00
xkbUtils.c xkb: remove superfluous checks in if statement. 2008-05-20 18:57:54 +09:30
xkmread.c XKB: Ditch XkbFileInfo 2008-02-17 22:52:08 +02:00

The X server uses this directory to store the compiled version of the
current keymap and/or any scratch keymaps used by clients.  The X server
or some other tool might destroy or replace the files in this directory,
so it is not a safe place to store compiled keymaps for long periods of
time.  The default keymap for any server is usually stored in:
     X<num>-default.xkm
where <num> is the display number of the server in question, which makes
it possible for several servers *on the same host* to share the same 
directory.

Unless the X server is modified, sharing this directory between servers on
different hosts could cause problems.